[projects/template-specs] noarch docs

glen glen at pld-linux.org
Wed Sep 11 12:42:07 CEST 2013


commit b900d17c359877e68d9841b04801dee816992488
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Wed Sep 11 13:41:32 2013 +0300

    noarch docs

 java.spec | 4 ++++
 1 file changed, 4 insertions(+)
---
diff --git a/java.spec b/java.spec
index c2b1757..0ea9d7b 100644
--- a/java.spec
+++ b/java.spec
@@ -57,6 +57,10 @@ Summary(fr.UTF-8):	Documentation pour %{srcname}
 Summary(it.UTF-8):	Documentazione di %{srcname}
 Summary(pl.UTF-8):	Podręcznik dla %{srcname}
 Group:		Documentation
+# noarch subpackages only when building with rpm5
+%if "%{_rpmversion}" >= "5"
+BuildArch:	noarch
+%endif
 
 %description doc
 Documentation for %{srcname}.
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/projects/template-specs.git/commitdiff/6d4ddd20da70d9d3f3be01d4fb55d122407cd4c1



More information about the pld-cvs-commit mailing list