]> git.pld-linux.org Git - packages/kernel.git/commitdiff
updated noarch rules
authorJan Palus <atler@pld-linux.org>
Sun, 14 Feb 2021 11:27:14 +0000 (12:27 +0100)
committerJan Palus <atler@pld-linux.org>
Sun, 14 Feb 2021 11:27:14 +0000 (12:27 +0100)
kernel.spec

index 600a25a6d8fcb26fb1a57fa3d77236fcd7f7bce6..6782a3fedd76c463c92ab611569063b42ef1e6c0 100644 (file)
@@ -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
This page took 2.47845 seconds and 4 git commands to generate.