[packages/kmod] - updated noarch rule

qboosh qboosh at pld-linux.org
Sun Jan 10 06:47:19 CET 2021


commit b058d38c320b7432836e303bf8e95c57776540ee
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Jan 10 06:47:08 2021 +0100

    - updated noarch rule

 kmod.spec | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/kmod.spec b/kmod.spec
index f69fc86..9b24fcc 100644
--- a/kmod.spec
+++ b/kmod.spec
@@ -38,7 +38,7 @@ BuildRequires:	pkgconfig
 %if %{with python2} || %{with python3}
 BuildRequires:	rpm-pythonprov
 %endif
-BuildRequires:	rpmbuild(macros) >= 1.219
+BuildRequires:	rpmbuild(macros) >= 1.752
 BuildRequires:	tar >= 1:1.22
 BuildRequires:	xz
 BuildRequires:	xz-devel >= 1:4.99
@@ -111,9 +111,7 @@ Summary:	bash-completion for kmod utilities
 Summary(pl.UTF-8):	Bashowe uzupełnianie nazw dla narzędzi kmod
 Group:		Applications/Shells
 Requires:	bash-completion >= 2.0
-%if "%{_rpmversion}" >= "5"
-BuildArch:	noarch
-%endif
+%{?noarchpackage}
 
 %description -n bash-completion-kmod
 bash-completion for kmod utilities.
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/kmod.git/commitdiff/b058d38c320b7432836e303bf8e95c57776540ee



More information about the pld-cvs-commit mailing list