[nodejs-ronn] Restrict to compatible arches

Jamie Nguyen jamielinux at fedoraproject.org
Sun Jul 28 21:54:22 UTC 2013


commit 92c4c69a94b56a6a41b64b513579fcbb41f7d907
Author: Jamie Nguyen <j at jamielinux.com>
Date:   Sun Jul 28 22:54:05 2013 +0100

    Restrict to compatible arches

 nodejs-ronn.spec |   13 +++++++++++--
 1 files changed, 11 insertions(+), 2 deletions(-)
---
diff --git a/nodejs-ronn.spec b/nodejs-ronn.spec
index d39951d..55ca1d3 100644
--- a/nodejs-ronn.spec
+++ b/nodejs-ronn.spec
@@ -1,6 +1,6 @@
 Name:       nodejs-ronn
 Version:    0.4.0
-Release:    2%{?dist}
+Release:    3%{?dist}
 Summary:    Markdown to roff/html converter
 License:    MIT
 Group:      System Environment/Libraries
@@ -8,9 +8,15 @@ URL:        https://github.com/kapouer/ronnjs
 Source0:    http://registry.npmjs.org/ronn/-/ronn-%{version}.tgz
 
 BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
 BuildArch:  noarch
+%if 0%{?fedora} >= 19
+ExclusiveArch: %{nodejs_arches} noarch
+%else
+ExclusiveArch: %{ix86} x86_64 %{arm} noarch
+%endif
 
-BuildRequires:  nodejs-devel
+BuildRequires:  nodejs-packaging
 
 %description
 Javascript port of ronn, using markdown-js to produce roff man pages. Not fully
@@ -43,6 +49,9 @@ rm -rf %{buildroot}
 %doc README.md LICENSE CHANGES TODO
 
 %changelog
+* Sun Jul 28 2013 Jamie Nguyen <jamielinux at fedoraproject.org> - 0.4.0-3
+- restrict to compatible arches
+
 * Wed Jun 05 2013 T.C. Hollingsworth <tchollingsworth at gmail.com> - 0.4.0-2
 - rename executable so as not to conflict with rubygem-ronn
 


More information about the scm-commits mailing list