The package rpms/nodejs-is-module.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-is-module.git/commit/?id=8....
Change:
+ExclusiveArch: %{nodejs_arches} noarch
Thanks.
Full change:
============
commit 8895a1525ed846de72edbcd21f57e8459ce5412d
Author: Jared Smith <jsmith(a)fedoraproject.org>
Date: Wed May 30 19:48:43 2018 -0400
Initial packaging
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..a0815dc
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/is-module-1.0.0.tgz
diff --git a/README.md b/README.md
deleted file mode 100644
index d086d80..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# nodejs-is-module
-
-'Check if a source string is an es6 module'
\ No newline at end of file
diff --git a/nodejs-is-module.spec b/nodejs-is-module.spec
new file mode 100644
index 0000000..a97607a
--- /dev/null
+++ b/nodejs-is-module.spec
@@ -0,0 +1,60 @@
+%{?nodejs_find_provides_and_requires}
+
+%global packagename is-module
+%global enable_tests 1
+
+Name: nodejs-is-module
+Version: 1.0.0
+Release: 1%{?dist}
+Summary: Check if a source string is an es6 module
+
+License: MIT
+URL:
https://github.com/component/is-module
+Source0:
https://registry.npmjs.org/%{packagename}/-/%{packagename}-%{version}.tgz
+
+
+BuildArch: noarch
+ExclusiveArch: %{nodejs_arches} noarch
+
+BuildRequires: nodejs-packaging
+
+%if 0%{?enable_tests}
+BuildRequires: mocha
+%endif
+
+%description
+Check if a source string is an es6 module
+
+
+%prep
+%autosetup -n package
+sed '0,/^## License/d' README.md > LICENSE.md
+
+
+%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[103m -=#=- This package has no tests -=#=- \e[0m"
+%else
+%{_bindir}/echo -e "\e[101m -=#=- Tests disabled -=#=- \e[0m"
+%endif
+
+%files
+%doc *.md
+%license LICENSE.md
+%{nodejs_sitelib}/%{packagename}
+
+%changelog
+* Wed May 30 2018 Jared K. Smith <jsmith(a)fedoraproject.org> - 1.0.0-1
+- Initial packaging
diff --git a/sources b/sources
new file mode 100644
index 0000000..8647fe7
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (is-module-1.0.0.tgz) =
e75ca93d23c2a1310837d772e4ecbe878a528602663c2ca029fc9108848123e268593ff6a09bcaf103f19b0bfb6ffa76dfd8d7ae6f4cd669506f2289e40d79da