The package rpms/nodejs-nanomsg.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-nanomsg.git/commit/?id=d17....
Change:
+ExclusiveArch: %{nodejs_arches}
Thanks.
Full change:
============
commit 78a6dc2e217a2fb1366e998e5ad655d1ad9cf714
Author: Troy Dawson <tdawson(a)redhat.com>
Date: Mon Feb 11 08:41:53 2019 -0800
Bug #1661033 fixed. Removing workaround.
diff --git a/nodejs-nanomsg.spec b/nodejs-nanomsg.spec
index 10686b5..9b85d2d 100644
--- a/nodejs-nanomsg.spec
+++ b/nodejs-nanomsg.spec
@@ -29,9 +29,6 @@ Node.js binding for nanomsg
%build
%nodejs_symlink_deps --build
-# Bug in nodejs-symlink-deps (#1661033)
-# Remove this link line when it's fixed
-ln -s /usr/lib/node_modules/nan node_modules/nan
%set_build_flags
node-gyp configure
node-gyp build
commit d1706edcdb8ab861ae0f057cca8b0ac28ee6cd5a
Author: Troy Dawson <tdawson(a)redhat.com>
Date: Mon Feb 11 08:10:27 2019 -0800
Initial import (#1673126)
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..5d629ef
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/nanomsg-4.0.2.tgz
diff --git a/nodejs-nanomsg.spec b/nodejs-nanomsg.spec
new file mode 100644
index 0000000..10686b5
--- /dev/null
+++ b/nodejs-nanomsg.spec
@@ -0,0 +1,60 @@
+%global npm_name nanomsg
+%global debug_package %{nil}
+
+%{?nodejs_find_provides_and_requires}
+
+Name: nodejs-%{npm_name}
+Version: 4.0.2
+Release: 2%{?dist}
+Summary: nanomsg for node
+License: MIT
+URL:
https://github.com/nickdesaulniers/node-nanomsg
+Source0:
https://registry.npmjs.org/%{npm_name}/-/%{npm_name}-%{version}.tgz
+ExclusiveArch: %{nodejs_arches}
+
+BuildRequires: nodejs-devel
+BuildRequires: node-gyp
+BuildRequires: npm(nan)
+BuildRequires: npm(bindings)
+#For tests
+BuildRequires: npm(tape)
+
+%description
+Node.js binding for nanomsg
+
+%prep
+%setup -q -n package
+%nodejs_fixdep bindings ">=1.2.1"
+%nodejs_fixdep nan ">=2.8"
+
+%build
+%nodejs_symlink_deps --build
+# Bug in nodejs-symlink-deps (#1661033)
+# Remove this link line when it's fixed
+ln -s /usr/lib/node_modules/nan node_modules/nan
+%set_build_flags
+node-gyp configure
+node-gyp build
+
+%install
+mkdir -p %{buildroot}/%{nodejs_sitearch}/nanomsg
+cp -pr build lib package.json perf %{buildroot}/%{nodejs_sitearch}/nanomsg
+%nodejs_symlink_deps
+
+%check
+%nodejs_symlink_deps --check
+#Cleanup bad tests for the enviroment
+rm -f test/{send,sockoptapi,ws}.js
+find test/*.js test/standalone/*.js | xargs -n 1 node
+
+%files
+%doc README.md examples
+%license LICENSE
+%{nodejs_sitearch}/%{npm_name}
+
+%changelog
+* Tue Jan 29 2019 Troy Dawson <tdawson(a)redhat.com> - 4.0.2-2
+- Update what get's copied over in the install phase
+
+* Wed Dec 19 2018 Troy Dawson <tdawson(a)redhat.com> - 4.0.2-1
+- Initial build
diff --git a/sources b/sources
new file mode 100644
index 0000000..13786b4
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (nanomsg-4.0.2.tgz) =
9b814ef2eaaf908825cca1bbbedd212b577e710475492b2cc5a0a76146b74842ce3bfff26a5d6af2fa0281937f41841af16724ab37e08722df0f0ccd24f8384e