[packages/wayland] updated noarch rule

atler atler at pld-linux.org
Sat Feb 13 12:58:22 CET 2021


commit 3065280826b3ec62678539ce984484f0f26a4917
Author: Jan Palus <atler at pld-linux.org>
Date:   Sat Feb 13 12:55:41 2021 +0100

    updated noarch rule

 wayland.spec | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/wayland.spec b/wayland.spec
index 87d1aa8..669b22b 100644
--- a/wayland.spec
+++ b/wayland.spec
@@ -26,7 +26,7 @@ BuildRequires:	docbook-style-xsl-nons
 BuildRequires:	doxygen >= 1.6.0
 BuildRequires:	graphviz >= 2.26.0
 BuildRequires:	libxslt-progs
-BuildRequires:	rpmbuild(macros) >= 1.736
+BuildRequires:	rpmbuild(macros) >= 1.752
 BuildRequires:	xmlto
 %endif
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -115,9 +115,7 @@ Statyczna biblioteka Wayland EGL.
 Summary:	Wayland API and protocol documentation
 Summary(pl.UTF-8):	Dokumentacja API biblioteki oraz protokołu Wayland
 Group:		Documentation
-%if "%{_rpmversion}" >= "5"
-BuildArch:	noarch
-%endif
+%{?noarchpackage}
 
 %description apidocs
 Wayland API and protocol documentation.
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/wayland.git/commitdiff/a1de3cf4477d904cc93de1842f7b74a931c1e25b



More information about the pld-cvs-commit mailing list