[packages/kernel] updated noarch rules
atler
atler at pld-linux.org
Sun Feb 14 12:29:14 CET 2021
commit 840c26a3fcd46af4c7e76b546080848cb896fa71
Author: Jan Palus <atler at pld-linux.org>
Date: Sun Feb 14 12:27:14 2021 +0100
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
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/kernel.git/commitdiff/ce7e9b5260fd2d470d0ea7d4a302ed339400f5d3
More information about the pld-cvs-commit
mailing list