[nodejs-strip-path] Declare noarch, fixes rhbz#1123624.
Ralph Bean
ralph at fedoraproject.org
Tue Dec 2 00:47:32 UTC 2014
commit bc5f88cc04afe34be1cc4f399333d07ac1af372b
Author: Ralph Bean <rbean at redhat.com>
Date: Mon Dec 1 19:47:31 2014 -0500
Declare noarch, fixes rhbz#1123624.
nodejs-strip-path.spec | 14 +++++++++++---
1 files changed, 11 insertions(+), 3 deletions(-)
---
diff --git a/nodejs-strip-path.spec b/nodejs-strip-path.spec
index cbf1763..b9f6350 100644
--- a/nodejs-strip-path.spec
+++ b/nodejs-strip-path.spec
@@ -7,17 +7,22 @@
Name: nodejs-strip-path
Version: 1.0.0
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Strip a path from a path
Group: Development/Libraries
License: MIT
URL: https://www.npmjs.org/package/strip-path
Source0: http://registry.npmjs.org/%{barename}/-/%{barename}-%{version}.tgz
+BuildArch: noarch
-BuildRequires: nodejs-packaging >= 6
-
+%if 0%{?fedora} >= 19
+ExclusiveArch: %{nodejs_arches} noarch
+%else
+ExclusiveArch: %{ix86} x86_64 %{arm} noarch
+%endif
+BuildRequires: nodejs-packaging >= 6
%if 0%{?enable_tests}
BuildRequires: npm(mocha)
@@ -59,6 +64,9 @@ mocha
%{nodejs_sitelib}/strip-path/
%changelog
+* Mon Dec 01 2014 Ralph Bean <rbean at redhat.com> - 1.0.0-2
+- Declare noarch, fixes rhbz#1123624.
+
* Mon Aug 18 2014 Ralph Bean <rbean at redhat.com> - 1.0.0-1
- Latest upstream.
More information about the scm-commits
mailing list