[nodejs-detective] Add logic for ExclusiveArch across branches

Jamie Nguyen jamielinux at fedoraproject.org
Wed Jul 17 18:44:50 UTC 2013


commit 592186dc92e30428a640dd98e2cc84cb1fffbe03
Author: Jamie Nguyen <j at jamielinux.com>
Date:   Wed Jul 17 19:44:16 2013 +0100

    Add logic for ExclusiveArch across branches

 nodejs-detective.spec |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/nodejs-detective.spec b/nodejs-detective.spec
index 1551732..9b8d96c 100644
--- a/nodejs-detective.spec
+++ b/nodejs-detective.spec
@@ -12,7 +12,11 @@ URL:        https://github.com/substack/node-detective
 Source0:    http://registry.npmjs.org/detective/-/detective-%{version}.tgz
 
 BuildArch:  noarch
+%if 0%{?fedora} >= 19
 ExclusiveArch: %{nodejs_arches} noarch
+%else
+ExclusiveArch: %{ix86} x86_64 %{arm} noarch
+%endif
 
 BuildRequires:  nodejs-packaging
 


More information about the scm-commits mailing list