The package rpms/nodejs-path-parse.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-path-parse.git/commit/?id=....
Change:
+ExclusiveArch: %{nodejs_arches} noarch
Thanks.
Full change:
============
commit 3a735775b271a23033ae0217fa3b67eb409f61dc
Author: Jared Smith <jsmith(a)fedoraproject.org>
Date: Tue May 1 21:06:06 2018 -0400
Initial packaging
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..9d84f16
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/path-parse-1.0.5.tgz
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 0000000..552360e
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,23 @@
+## MIT License
+
+Copyright 2016 © [Javier Blanco](http://jbgutierrez.info)
+
+
+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 769dae6..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# nodejs-path-parse
-
-'Node.js path.parse() ponyfill'
\ No newline at end of file
diff --git a/nodejs-path-parse.spec b/nodejs-path-parse.spec
new file mode 100644
index 0000000..924e5cc
--- /dev/null
+++ b/nodejs-path-parse.spec
@@ -0,0 +1,62 @@
+%{?nodejs_find_provides_and_requires}
+
+%global packagename path-parse
+%global enable_tests 1
+
+Name: nodejs-path-parse
+Version: 1.0.5
+Release: 1%{?dist}
+Summary: Node.js path.parse() ponyfill
+
+License: MIT
+URL:
https://github.com/jbgutierrez/path-parse.git
+Source0:
https://registry.npmjs.org/%{packagename}/-/%{packagename}-%{version}.tgz
+# license file requested upstream
+Source1: LICENSE
+
+
+BuildArch: noarch
+ExclusiveArch: %{nodejs_arches} noarch
+
+BuildRequires: nodejs-packaging
+
+%if 0%{?enable_tests}
+#BuildRequires:
+%endif
+
+%description
+Node.js path.parse() ponyfill
+
+
+%prep
+%autosetup -n package
+cp -p %{SOURCE1} .
+
+
+%build
+# nothing to do
+
+%install
+mkdir -p %{buildroot}%{nodejs_sitelib}/%{packagename}
+cp -pr package.json index.js \
+ %{buildroot}%{nodejs_sitelib}/%{packagename}
+
+%nodejs_symlink_deps
+
+%check
+%nodejs_symlink_deps --check
+%{__nodejs} -e 'require("./")'
+%if 0%{?enable_tests}
+NODE_ENV=test %{__nodejs} test.js
+%else
+%{_bindir}/echo -e "\e[101m -=#=- Tests disabled -=#=- \e[0m"
+%endif
+
+%files
+%doc *.md
+%license LICENSE
+%{nodejs_sitelib}/%{packagename}
+
+%changelog
+* Thu Apr 26 2018 Jared K. Smith <jsmith(a)fedoraproject.org> - 1.0.5-1
+- Initial packaging
diff --git a/sources b/sources
new file mode 100644
index 0000000..451e208
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (path-parse-1.0.5.tgz) =
bb87b81ff51478c6c9d549c19de3dfeabe1c9b87c566ce7b04ca1c51215e79af34ec94d89361c99c4f468d4a561da0d99353901a802b9d65b5c84a3d9dde7bc3