[expresso] Add ExclusiveArch logic

Jamie Nguyen jamielinux at fedoraproject.org
Sun Aug 18 15:04:26 UTC 2013


commit a456c5592d2a9acb43cb648360bb100ca78c1518
Author: Jamie Nguyen <j at jamielinux.com>
Date:   Sun Aug 18 16:03:15 2013 +0100

    Add ExclusiveArch logic

 expresso.spec |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/expresso.spec b/expresso.spec
index 2045a14..45e4d96 100644
--- a/expresso.spec
+++ b/expresso.spec
@@ -13,9 +13,13 @@ Source0:    http://registry.npmjs.org/expresso/-/expresso-%{version}.tgz
 Source1:    expresso.1
 
 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
 %{summary}.


More information about the scm-commits mailing list