diff --git a/nodejs-npmconf.spec b/nodejs-npmconf.spec index 32264a7..b609d3c 100644 --- a/nodejs-npmconf.spec +++ b/nodejs-npmconf.spec @@ -4,8 +4,6 @@ Name: nodejs-npmconf Version: 0.1.3 Release: 1%{?dist} Summary: npm configuration module -BuildArch: noarch -ExclusiveArch: %{nodejs_arches} noarch Group: System Environment/Libraries License: BSD @@ -13,6 +11,13 @@ URL: https://github.com/isaacs/npmconf Source0: http://registry.npmjs.org/npmconf/-/npmconf-%{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-packaging %description @@ -48,6 +53,7 @@ rm -rf %buildroot %changelog * Sat Sep 07 2013 Jamie Nguyen - 0.1.3-1 - update to upstream release 0.1.3 +- add ExclusiveArch logic * Tue Jul 30 2013 T.C. Hollingsworth - 0.1.2-1 - new upstream release 0.1.2