From 840c26a3fcd46af4c7e76b546080848cb896fa71 Mon Sep 17 00:00:00 2001 From: Jan Palus Date: Sun, 14 Feb 2021 12:27:14 +0100 Subject: [PATCH] updated noarch rules --- kernel.spec | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/kernel.spec b/kernel.spec index 600a25a6..6782a3fe 100644 --- a/kernel.spec +++ b/kernel.spec @@ -255,7 +255,7 @@ BuildRequires: openssl-devel BuildRequires: openssl-tools BuildRequires: perl-base BuildRequires: rpm-build >= 4.5-24 -BuildRequires: rpmbuild(macros) >= 1.743 +BuildRequires: rpmbuild(macros) >= 1.752 %ifarch ppc BuildRequires: uboot-mkimage %endif @@ -583,9 +583,7 @@ Summary(pl.UTF-8): Kod źródłowy jądra Linuksa Group: Development/Building Requires: %{name}-module-build = %{epoch}:%{version}-%{release} AutoReqProv: no -%if "%{_rpmversion}" >= "5" -BuildArch: noarch -%endif +%{?noarchpackage} %description source This is the source code for the Linux kernel. You can build a custom @@ -616,9 +614,7 @@ Summary(de.UTF-8): Kernel Dokumentation Summary(pl.UTF-8): Dokumentacja do jądra Linuksa Group: Documentation AutoReqProv: no -%if "%{_rpmversion}" >= "5" -BuildArch: noarch -%endif +%{?noarchpackage} %description doc This is the documentation for the Linux kernel, as found in -- 2.44.0