From d3cdcd3d88b9ef8da93468053c34bb16646390d1 Mon Sep 17 00:00:00 2001 From: Daan De Meyer Date: Wed, 17 Jul 2024 16:58:57 +0200 Subject: [PATCH] Install rpmautospec on Fedora and CentOS Stream 9 with EPEL Required for building some rpms so let's make sure these are installed. --- .../{20-centos.conf => 20-centos/mkosi.conf} | 0 mkosi.conf.d/20-centos/mkosi.conf.d/epel.conf | 12 ++++++++++++ mkosi.conf.d/20-fedora/mkosi.conf | 1 + 3 files changed, 13 insertions(+) rename mkosi.conf.d/{20-centos.conf => 20-centos/mkosi.conf} (100%) create mode 100644 mkosi.conf.d/20-centos/mkosi.conf.d/epel.conf diff --git a/mkosi.conf.d/20-centos.conf b/mkosi.conf.d/20-centos/mkosi.conf similarity index 100% rename from mkosi.conf.d/20-centos.conf rename to mkosi.conf.d/20-centos/mkosi.conf diff --git a/mkosi.conf.d/20-centos/mkosi.conf.d/epel.conf b/mkosi.conf.d/20-centos/mkosi.conf.d/epel.conf new file mode 100644 index 000000000..4987272c7 --- /dev/null +++ b/mkosi.conf.d/20-centos/mkosi.conf.d/epel.conf @@ -0,0 +1,12 @@ +# SPDX-License-Identifier: LGPL-2.1-or-later + +[Match] +Release=9 + +[Distribution] +Repositories=epel,epel-next + +[Content] +Packages= + rpmautospec + rpmautospec-rpm-macros diff --git a/mkosi.conf.d/20-fedora/mkosi.conf b/mkosi.conf.d/20-fedora/mkosi.conf index 977210f0f..f9fdf1f67 100644 --- a/mkosi.conf.d/20-fedora/mkosi.conf +++ b/mkosi.conf.d/20-fedora/mkosi.conf @@ -9,4 +9,5 @@ Release=rawhide [Content] Packages= qemu-user-static + rpmautospec systemd-networkd -- 2.47.3