The package rpms/nodejs-eventemitter3.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-eventemitter3.git/commit/?....
Change:
+ExclusiveArch: %{nodejs_arches} noarch
Thanks.
Full change:
============
commit a506788f55ce6ca1971efe66b43be3844542c5e9
Author: Parag A Nemade <pnemade(a)fedoraproject.org>
Date: Wed May 3 18:28:07 2017 +0530
Initial commit (#1444766)
diff --git a/.gitignore b/.gitignore
index e69de29..8879016 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/2.0.3.tar.gz
diff --git a/nodejs-eventemitter3.spec b/nodejs-eventemitter3.spec
new file mode 100644
index 0000000..abc2db5
--- /dev/null
+++ b/nodejs-eventemitter3.spec
@@ -0,0 +1,62 @@
+%{?nodejs_find_provides_and_requires}
+
+# npm(assume) not in fedora yet
+%global enable_tests 0
+%global packagename eventemitter3
+
+Name: nodejs-%{packagename}
+Version: 2.0.3
+Release: 2%{?dist}
+Summary: EventEmitter3 is a high performance EventEmmitter
+License: MIT
+URL:
https://github.com/primus/%{packagename}
+Source0:
https://github.com/primus/%{packagename}/archive/%{version}.tar.gz
+
+BuildArch: noarch
+ExclusiveArch: %{nodejs_arches} noarch
+
+BuildRequires: nodejs-packaging
+
+%if 0%{?enable_tests}
+BuildRequires: npm(mocha)
+BuildRequires: npm(assume)
+%endif
+
+%description
+EventEmitter3 is a high performance EventEmitter. It has been micro-optimized
+for various of code paths making this, one of, if not the fastest EventEmitter
+available for Node.js and browsers. The module is API compatible with the
+EventEmitter that ships by default with Node.js.
+
+%prep
+%autosetup -n %{packagename}-%{version}
+
+%build
+#nothing to do
+
+%install
+mkdir -p %{buildroot}%{nodejs_sitelib}/%{packagename}
+cp -pr package.json bower.json component.json *.js \
+ %{buildroot}%{nodejs_sitelib}/%{packagename}
+
+%nodejs_symlink_deps
+
+
+%check
+%nodejs_symlink_deps --check
+%{__nodejs} -e 'require("./")'
+%if 0%{?enable_tests}
+mocha test.js
+%endif
+
+%files
+%doc README.md
+%license LICENSE
+%{nodejs_sitelib}/%{packagename}
+
+%changelog
+* Wed May 03 2017 Parag Nemade <pnemade AT redhat DOT com> - 2.0.3-2
+- Disabled tests
+
+* Mon Apr 24 2017 Parag Nemade <pnemade AT redhat DOT com> - 2.0.3-1
+- initial package
diff --git a/sources b/sources
index e69de29..a0b4b23 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (2.0.3.tar.gz) =
4eca7f24685d4494db7caac23bb91d018ba5620d3088d612ea838cc846646fd03ca653e85d59c4932e40436b652c399619604a4ba3280bb12458259b9581a430