The package rpms/nodejs-dirty-chai.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-dirty-chai.git/commit/?id=....
Change:
+ExclusiveArch: %{nodejs_arches} noarch
Thanks.
Full change:
============
commit b6c460c23edfc8032c51a4a2074e86e33d1ce2aa
Author: Jared Smith <jsmith(a)fedoraproject.org>
Date: Tue May 1 08:47:39 2018 -0400
Initial packaging
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..d27b6d4
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/dirty-chai-2.0.1.tgz
diff --git a/LICENSE-MIT.txt b/LICENSE-MIT.txt
new file mode 100644
index 0000000..219523b
--- /dev/null
+++ b/LICENSE-MIT.txt
@@ -0,0 +1,22 @@
+(The MIT License)
+
+Copyright (c) 2017 Joshua Perry <josh(a)pdk.io>
+
+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 1cb0fa3..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# nodejs-dirty-chai
-
-'Extends Chai with lint-friendly terminating assertions'
\ No newline at end of file
diff --git a/nodejs-dirty-chai.spec b/nodejs-dirty-chai.spec
new file mode 100644
index 0000000..b9f6022
--- /dev/null
+++ b/nodejs-dirty-chai.spec
@@ -0,0 +1,65 @@
+%{?nodejs_find_provides_and_requires}
+
+%global packagename dirty-chai
+%global enable_tests 1
+
+Name: nodejs-dirty-chai
+Version: 2.0.1
+Release: 1%{?dist}
+Summary: Extends Chai with lint-friendly terminating assertions
+
+License: MIT
+URL:
https://github.com/prodatakey/dirty-chai
+Source0:
https://registry.npmjs.org/%{packagename}/-/%{packagename}-%{version}.tgz
+# license file requested at
https://github.com/prodatakey/dirty-chai/pull/35
+Source1: LICENSE-MIT.txt
+
+
+BuildArch: noarch
+ExclusiveArch: %{nodejs_arches} noarch
+
+BuildRequires: nodejs-packaging
+
+%if 0%{?enable_tests}
+BuildRequires: mocha
+BuildRequires: npm(chai)
+BuildRequires: npm(chai-as-promised)
+BuildRequires: npm(es6-promise)
+BuildRequires: npm(require-uncached)
+%endif
+
+%description
+Extends Chai with lint-friendly terminating assertions.
+
+
+%prep
+%autosetup -n package
+cp -p %{SOURCE1} .
+
+%build
+# nothing to do
+
+%install
+mkdir -p %{buildroot}%{nodejs_sitelib}/%{packagename}
+cp -pr package.json lib/ \
+ %{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.txt
+%{nodejs_sitelib}/%{packagename}
+
+%changelog
+* Tue Apr 24 2018 Jared K. Smith <jsmith(a)fedoraproject.org> - 2.0.1-1
+- Initial packaging
diff --git a/sources b/sources
new file mode 100644
index 0000000..3fcdc5b
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (dirty-chai-2.0.1.tgz) =
cacefda562af0cca3020310f0ba16283c7794c7882d032768264de1b3540a041f5f09f0eccbb9dd0987b23d21683735293cc765287339d4b8599f1c25d8671f7