[packages/gem2rpm] skip noarch if building extensions
glen
glen at pld-linux.org
Mon Apr 29 23:25:33 CEST 2013
commit 132e69524e3521b637c4ed6958324962a2e597a1
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Tue Apr 30 00:25:20 2013 +0300
skip noarch if building extensions
pld.spec.erb | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/pld.spec.erb b/pld.spec.erb
index 4f4b720..425d534 100644
--- a/pld.spec.erb
+++ b/pld.spec.erb
@@ -39,7 +39,9 @@ Requires: ruby-<%= d.name %> <%= req %>
<% end -%>
%endif
<% end -%>
+<% if spec.extensions.empty? -%>
BuildArch: noarch
+<% end -%>
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/gem2rpm.git/commitdiff/132e69524e3521b637c4ed6958324962a2e597a1
More information about the pld-cvs-commit
mailing list