[nodejs-mimeparse] Restrict to compatible arches
Jamie Nguyen
jamielinux at fedoraproject.org
Sat Jul 27 21:11:45 UTC 2013
commit 06f4d066e89a6f3a2dba9e371cb4fa6d92f72bf4
Author: Jamie Nguyen <j at jamielinux.com>
Date: Sat Jul 27 22:11:27 2013 +0100
Restrict to compatible arches
nodejs-mimeparse.spec | 13 +++++++++++--
1 files changed, 11 insertions(+), 2 deletions(-)
---
diff --git a/nodejs-mimeparse.spec b/nodejs-mimeparse.spec
index e75980c..91b828c 100644
--- a/nodejs-mimeparse.spec
+++ b/nodejs-mimeparse.spec
@@ -2,15 +2,21 @@
Name: nodejs-mimeparse
Version: 0.1.4
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: A Node.js module with basic functions for handling mime-types
License: MIT
Group: System Environment/Libraries
URL: https://github.com/kriskowal/mimeparse
Source0: http://registry.npmjs.org/mimeparse/-/mimeparse-%{version}.tgz
+
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
This Node.js module provides basic functions for handling mime-types. It can
@@ -41,5 +47,8 @@ cp -pr package.json lib/ \
%changelog
+* Sat Jul 27 2013 Jamie Nguyen <jamielinux at fedoraproject.org> - 0.1.4-2
+- restrict to compatible arches
+
* Wed Feb 13 2013 Jamie Nguyen <jamielinux at fedoraproject.org> - 0.1.4-1
- initial package
More information about the scm-commits
mailing list