[packages/weechat] updated noarch rule

atler atler at pld-linux.org
Sat Jan 16 01:37:04 CET 2021


commit 8f33c8f15fa7df2eefd0e15ebfca36e6d1cd3b8f
Author: Jan Palus <atler at pld-linux.org>
Date:   Sat Jan 16 01:34:10 2021 +0100

    updated noarch rule

 weechat.spec | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/weechat.spec b/weechat.spec
index 7370c5d..6ec0bc6 100644
--- a/weechat.spec
+++ b/weechat.spec
@@ -51,7 +51,7 @@ BuildRequires:	sed >= 4.0
 BuildRequires:	python3-devel
 BuildRequires:	python3-modules
 %endif
-BuildRequires:	rpmbuild(macros) >= 1.742
+BuildRequires:	rpmbuild(macros) >= 1.752
 %{?with_ruby:BuildRequires:	ruby-devel >= 1:1.9}
 %{?with_tcl:BuildRequires:	tcl-devel}
 BuildRequires:	zlib-devel
@@ -76,9 +76,7 @@ pomocą skryptów.
 %package doc
 Summary:	Manual for weechat
 Group:		Documentation
-%if "%{_rpmversion}" >= "5"
-BuildArch:	noarch
-%endif
+%{?noarchpackage}
 
 %description doc
 HTML documentation for weechat.
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/weechat.git/commitdiff/8f33c8f15fa7df2eefd0e15ebfca36e6d1cd3b8f



More information about the pld-cvs-commit mailing list