commit 2c0f2034cbdf87871120791f0dc0f79af989d10b
Author: Elan Ruusamäe <[email protected]>
Date: Fri Nov 16 00:31:19 2012 +0200
rpm5 noarch subpackage sample
template.spec | 4 ++++
1 file changed, 4 insertions(+)
---
diff --git a/template.spec b/template.spec
index db64fd9..bd869a3 100644
--- a/template.spec
+++ b/template.spec
@@ -53,6 +53,10 @@ BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
Summary: -
Summary(pl.UTF-8): -
Group: -
+# noarch subpackages only when building with rpm5
+%if "%{_rpmversion}" >= "5"
+BuildArch: noarch
+%endif
%description subpackage
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/projects/template-specs.git/commitdiff/2c0f2034cbdf87871120791f0dc0f79af989d10b
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit