[packages/libupnp] updated noarch rule
atler
atler at pld-linux.org
Wed Feb 10 10:45:35 CET 2021
commit 1d72a963b0495b6343efae887072a72ab47d1348
Author: Jan Palus <atler at pld-linux.org>
Date: Wed Feb 10 10:45:01 2021 +0100
updated noarch rule
libupnp.spec | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/libupnp.spec b/libupnp.spec
index bf8b2d2..c21cb8f 100644
--- a/libupnp.spec
+++ b/libupnp.spec
@@ -16,6 +16,7 @@ BuildRequires: doxygen
BuildRequires: libtool >= 2:1.5
BuildRequires: openssl-devel >= 0.9.8b
BuildRequires: pkgconfig
+BuildRequires: rpmbuild(macros) >= 1.752
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -63,9 +64,7 @@ Statyczne biblioteki upnp.
Summary: API documentation for upnp libraries
Summary(pl.UTF-8): Dokumentacja API bibliotek upnp
Group: Documentation
-%if "%{_rpmversion}" >= "5"
-BuildArch: noarch
-%endif
+%{?noarchpackage}
%description apidocs
API documentation for upnp libraries.
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/libupnp.git/commitdiff/1d72a963b0495b6343efae887072a72ab47d1348
More information about the pld-cvs-commit
mailing list