The package rpms/nodejs-http-proxy.git has added or updated architecture specific content
in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/nodejs-http-proxy.git/commit/?id=....
Change:
+ExclusiveArch: %{nodejs_arches} noarch
Thanks.
Full change:
============
commit f463b1369fd92b5bc96e11879416f6496314af56
Author: Parag A Nemade <pnemade(a)fedoraproject.org>
Date: Tue May 9 09:23:38 2017 +0530
Initial commit (#1446571)
diff --git a/.gitignore b/.gitignore
index e69de29..84beab2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/1.16.2.tar.gz
diff --git a/nodejs-http-proxy.spec b/nodejs-http-proxy.spec
new file mode 100644
index 0000000..b45478c
--- /dev/null
+++ b/nodejs-http-proxy.spec
@@ -0,0 +1,77 @@
+%{?nodejs_find_provides_and_requires}
+
+# some packages are not in fedora yet
+%global enable_tests 0
+%global packagename http-proxy
+
+Name: nodejs-%{packagename}
+Version: 1.16.2
+Release: 3%{?dist}
+Summary: A full-featured http proxy for node.js
+
+License: MIT
+URL:
https://github.com/nodejitsu/node-%{packagename}
+Source0:
https://github.com/nodejitsu/node-%{packagename}/archive/%{version}.tar.gz
+
+BuildArch: noarch
+ExclusiveArch: %{nodejs_arches} noarch
+
+BuildRequires: nodejs-packaging
+BuildRequires: npm(eventemitter3)
+BuildRequires: npm(requires-port)
+
+%if 0%{?enable_tests}
+BuildRequires: npm(async)
+BuildRequires: npm(blanket)
+BuildRequires: npm(coveralls)
+BuildRequires: npm(dox)
+BuildRequires: npm(sse)
+BuildRequires: npm(socket.io)
+BuildRequires: npm(semver)
+BuildRequires: npm(mocha)
+BuildRequires: npm(ws)
+%endif
+
+%description
+node-%{packagename} is an HTTP programmable proxying library that supports
+web sockets. It is suitable for implementing components such as reverse
+proxies and load balancers.
+
+%prep
+%autosetup -n node-%{packagename}-%{version}
+rm -rf node_modules
+
+%nodejs_fixdep eventemitter3
+
+%build
+# Nothing to build
+
+%install
+mkdir -p %{buildroot}%{nodejs_sitelib}/%{packagename}
+cp -pr package.json index.js lib \
+ %{buildroot}%{nodejs_sitelib}/%{packagename}
+
+%nodejs_symlink_deps
+
+%check
+%nodejs_symlink_deps --check
+%{__nodejs} -e 'require("./")'
+%if 0%{?enable_tests}
+mocha test/*-test.js
+%endif
+
+%files
+%doc README.md
+%license LICENSE
+%{nodejs_sitelib}/%{packagename}/
+
+%changelog
+* Tue May 09 2017 Parag Nemade <pnemade AT redhat DOT com> - 1.16.2-3
+- Fix the BuildRequires
+
+* Wed May 03 2017 Parag Nemade <pnemade AT redhat DOT com> - 1.16.2-2
+- Fix rpmlint warning
+- fixdeps for npm(eventemitter3)
+
+* Mon Apr 17 2017 Parag Nemade <pnemade AT redhat DOT com> - 1.16.2-1
+- Initial packaging
diff --git a/sources b/sources
index e69de29..5f82a27 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (1.16.2.tar.gz) =
0f4f1365e7f467b21068961cd1c61b727e529796415b6e5e975ff80d35c261bcf5efeaa6f0b2ee720dfb7338f5de20ca31cb8a74d477e1ae5fe6fa8dabc4c35f