The package rpms/nodejs-bit-mask.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-bit-mask.git/commit/?id=5a....
Change:
+ExclusiveArch: %{nodejs_arches} noarch
Thanks.
Full change:
============
commit 5a5c79271d5a11ad6bb8a5d15724b9091cdfbb27
Author: Jared Smith <jsmith(a)fedoraproject.org>
Date: Tue May 1 09:11:25 2018 -0400
Initial packaging
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..07391e3
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/bit-mask-1.0.2.tgz
diff --git a/LICENSE-MIT b/LICENSE-MIT
new file mode 100644
index 0000000..02d5bf6
--- /dev/null
+++ b/LICENSE-MIT
@@ -0,0 +1,24 @@
+The MIT License (MIT)
+
+Copyright 2018 Abbey Hawk Sparrow <@khrome> (
http://patternweaver.com)
+
+Permission is hereby granted, free of charge, to any person
+obtaining a copy of this software and associated documentation
+files (the "Software"), to deal in the Software without
+restriction, including without limitation the rights to use,
+copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the
+Software is furnished to do so, subject to the following
+conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
+OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
+HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+OTHER DEALINGS IN THE SOFTWARE.
diff --git a/README.md b/README.md
deleted file mode 100644
index f7ea302..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# nodejs-bit-mask
-
-'A utility for manipulating bit masks'
\ No newline at end of file
diff --git a/nodejs-bit-mask.spec b/nodejs-bit-mask.spec
new file mode 100644
index 0000000..d6021f0
--- /dev/null
+++ b/nodejs-bit-mask.spec
@@ -0,0 +1,66 @@
+%{?nodejs_find_provides_and_requires}
+
+%global packagename bit-mask
+%global enable_tests 1
+
+Name: nodejs-bit-mask
+Version: 1.0.2
+Release: 1%{?dist}
+Summary: A utility for manipulating bit masks
+
+License: MIT
+URL:
https://github.com/khrome/bit-mask.git
+Source0:
https://registry.npmjs.org/%{packagename}/-/%{packagename}-%{version}.tgz
+# license file requested at
https://github.com/khrome/bit-mask/pull/3
+Source1: LICENSE-MIT
+
+
+BuildArch: noarch
+ExclusiveArch: %{nodejs_arches} noarch
+
+BuildRequires: nodejs-packaging
+BuildRequires: npm(array-events)
+
+%if 0%{?enable_tests}
+BuildRequires: mocha
+BuildRequires: npm(request)
+BuildRequires: npm(should)
+%endif
+
+%description
+A utility for manipulating bit masks
+
+
+%prep
+%autosetup -n package
+cp -p %{SOURCE1} .
+
+%nodejs_fixdep array-events '^1.0.0'
+
+%build
+# nothing to do
+
+%install
+mkdir -p %{buildroot}%{nodejs_sitelib}/%{packagename}
+cp -pr package.json *.js \
+ %{buildroot}%{nodejs_sitelib}/%{packagename}
+
+%nodejs_symlink_deps
+
+%check
+%nodejs_symlink_deps --check
+%{__nodejs} -e 'require("./")'
+%if 0%{?enable_tests}
+NODE_ENV=test %{_bindir}/mocha -R spec
+%else
+%{_bindir}/echo -e "\e[101m -=#=- Tests disabled -=#=- \e[0m"
+%endif
+
+%files
+%doc *.md
+%license LICENSE-MIT
+%{nodejs_sitelib}/%{packagename}
+
+%changelog
+* Mon Apr 23 2018 Jared K. Smith <jsmith(a)fedoraproject.org> - 1.0.2-1
+- Initial packaging
diff --git a/sources b/sources
new file mode 100644
index 0000000..3e8a0e4
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (bit-mask-1.0.2.tgz) =
506b6ad3c2d289acf12f8cd5981ceb85d0969d3e115b1dc98610ffddcae17eff31c639d51f17ff5a856312cb6349469979944fee466b58daaea7556f50294269