[projects/template-specs] rpm5 noarch subpackage sample
glen
glen at pld-linux.org
Thu Nov 15 23:31:47 CET 2012
commit 2c0f2034cbdf87871120791f0dc0f79af989d10b
Author: Elan Ruusamäe <glen at delfi.ee>
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
More information about the pld-cvs-commit
mailing list