The package rpms/nodejs-util-inspect.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-util-inspect.git/commit/?i....
Change:
+ExclusiveArch: %{nodejs_arches} noarch
Thanks.
Full change:
============
commit 4d434d90f04e604c92c12e16e936db3994a5db67
Author: Jared Smith <jsmith(a)fedoraproject.org>
Date: Mon Apr 30 11:18:49 2018 -0400
Initial packaging
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..eb492a4
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/util-inspect-0.1.8.tgz
diff --git a/LICENSE-MIT.md b/LICENSE-MIT.md
new file mode 100644
index 0000000..a8ef946
--- /dev/null
+++ b/LICENSE-MIT.md
@@ -0,0 +1,22 @@
+== MIT License
+
+Copyright (c) Joyent (c) 2010-2014 Joyent, Inc.
+
+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 4f491e7..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# nodejs-util-inspect
-
-'A cross-browser node.js util.inspect module'
\ No newline at end of file
diff --git a/nodejs-util-inspect.spec b/nodejs-util-inspect.spec
new file mode 100644
index 0000000..6a65b2b
--- /dev/null
+++ b/nodejs-util-inspect.spec
@@ -0,0 +1,71 @@
+%{?nodejs_find_provides_and_requires}
+
+%global packagename util-inspect
+%global enable_tests 1
+
+Name: nodejs-util-inspect
+Version: 0.1.8
+Release: 1%{?dist}
+Summary: A cross-browser node.js util.inspect module
+
+License: MIT
+URL:
https://github.com/Automattic/util-inspect
+Source0:
https://registry.npmjs.org/%{packagename}/-/%{packagename}-%{version}.tgz
+# License file requested at
https://github.com/Automattic/util-inspect/pull/8
+Source1: LICENSE-MIT.md
+
+BuildArch: noarch
+ExclusiveArch: %{nodejs_arches} noarch
+
+BuildRequires: nodejs-packaging
+BuildRequires: npm(array-map)
+BuildRequires: npm(array-reduce)
+BuildRequires: npm(foreach)
+BuildRequires: npm(isarray)
+BuildRequires: npm(indexof)
+BuildRequires: npm(json3)
+BuildRequires: npm(object-keys)
+
+%if 0%{?enable_tests}
+#BuildRequires:
+%endif
+
+%description
+A cross-browser node.js util.inspect module
+
+
+%prep
+%autosetup -n package
+cp -p %{SOURCE1} .
+
+%nodejs_fixdep foreach '^2.0.5'
+%nodejs_fixdep json3 '^3.3.2'
+%nodejs_fixdep object-keys '^1.0.11'
+
+%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}
+%{_bindir}/echo -e "\e[102m -=#=- This module has no tests -=#=- \e[0m"
+%else
+%{_bindir}/echo -e "\e[101m -=#=- Tests disabled -=#=- \e[0m"
+%endif
+
+%files
+%doc *.md
+%license LICENSE-MIT.md
+%{nodejs_sitelib}/%{packagename}
+
+%changelog
+* Mon Apr 23 2018 Jared K. Smith <jsmith(a)fedoraproject.org> - 0.1.8-1
+- Initial packaging
diff --git a/sources b/sources
new file mode 100644
index 0000000..485e2ac
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (util-inspect-0.1.8.tgz) =
1206053cf144aa2f69462291544649a4202e65f94a7b5471a695bc1aadd89771a1f6f0e1f00144726ecb2f8770639d89e8886be22fffe745e7e36f3650cbdeb0