[packages/keepass] noarch subpackage should not be unconditional

glen glen at pld-linux.org
Sat Jan 24 14:32:30 CET 2015


commit 43c7bca4b7b1e25069fc4267e97c491de7d60083
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sat Jan 24 15:32:15 2015 +0200

    noarch subpackage should not be unconditional

 keepass.spec | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/keepass.spec b/keepass.spec
index 05fb07a..1423fae 100644
--- a/keepass.spec
+++ b/keepass.spec
@@ -45,7 +45,9 @@ select the key file to unlock the whole database.
 
 %package doc
 Summary:	Documentation for the KeePass password manager
+%if "%{_rpmversion}" >= "5"
 BuildArch:	noarch
+%endif
 
 %description doc
 Documentation for KeePass, a free open source password manager.
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/keepass.git/commitdiff/43c7bca4b7b1e25069fc4267e97c491de7d60083



More information about the pld-cvs-commit mailing list