From fdc99f0414fb46a9c8eeb5cf97beb9c9bd5cbf24 Mon Sep 17 00:00:00 2001 From: Panu Matilainen Date: Mon, 7 Apr 2014 14:43:56 +0300 Subject: [PATCH] Split kernel module scripts and macros to a separate package - These are not very relevant for Fedora, more so for RHEL and derivates where it would be far preferrable to maintain the scripts as separately from Fedoras redhat-rpm-config package as they are unmaintained and only get out of sync here. Splitting these to a separate package is the first step towards that. - This isn't supposed to affect Fedora packages in any way. --- redhat-rpm-config.spec | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/redhat-rpm-config.spec b/redhat-rpm-config.spec index f3dddf6..f49631e 100644 --- a/redhat-rpm-config.spec +++ b/redhat-rpm-config.spec @@ -81,6 +81,13 @@ Provides: system-rpm-config = %{version}-%{release} %description Red Hat specific rpm configuration files. +%package -n kernel-rpm-macros +Summary: Macros and scripts for building kernel module packages. +Requires: redhat-rpm-config >= 12 + +%description -n kernel-rpm-macros +Macros and scripts for building kernel module packages. + %prep # Not strictly necessary but allows working on file names instead # of source numbers in install section @@ -121,6 +128,7 @@ install -p -m 644 -t %{buildroot}%{_rpmconfigdir}/macros.d macros.* %{_rpmconfigdir}/macros.d/macros.*-srpm %{_rpmconfigdir}/macros.d/macros.dwz +%files -n kernel-rpm-macros %{rrcdir}/kmodtool %{rrcdir}/rpmsort %{rrcdir}/symset-table @@ -134,6 +142,7 @@ install -p -m 644 -t %{buildroot}%{_rpmconfigdir}/macros.d macros.* * Mon Apr 07 2014 Panu Matilainen - 12-1 - Be more explicit about the package contents - Split kernel module macros to a separate file +- Split kernel module scripts and macros to a separate package * Wed Apr 02 2014 Panu Matilainen - 11-1 - Stop pretending this package is relocatable, its not