The package rpms/nodejs-jest-mock.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-jest-mock.git/commit/?id=b....
Change:
+ExclusiveArch: %{nodejs_arches} noarch
Thanks.
Full change:
============
commit b23ee78e3aa00cdc1510505f0e02e7f213ee800b
Author: Jared Smith <jsmith(a)fedoraproject.org>
Date: Tue Apr 24 12:54:27 2018 -0400
Initial packaging
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..115af08
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/jest-mock-22.4.3.tgz
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 0000000..10e779c
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,23 @@
+MIT License
+
+For Jest software
+
+Copyright (c) 2014-present, Facebook, 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 8611d91..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# nodejs-jest-mock
-
-'Mock testing API'
\ No newline at end of file
diff --git a/nodejs-jest-mock.spec b/nodejs-jest-mock.spec
new file mode 100644
index 0000000..f64a533
--- /dev/null
+++ b/nodejs-jest-mock.spec
@@ -0,0 +1,62 @@
+%{?nodejs_find_provides_and_requires}
+
+%global packagename jest-mock
+%global enable_tests 1
+
+Name: nodejs-jest-mock
+Version: 22.4.3
+Release: 1%{?dist}
+Summary: Mock testing API
+
+License: MIT
+URL:
https://github.com/facebook/jest/tree/master/packages/jest-mock
+Source0:
https://registry.npmjs.org/%{packagename}/-/%{packagename}-%{version}.tgz
+# license
+Source1:
https://raw.githubusercontent.com/facebook/jest/master/LICENSE
+
+
+BuildArch: noarch
+ExclusiveArch: %{nodejs_arches} noarch
+
+BuildRequires: nodejs-packaging
+
+%if 0%{?enable_tests}
+#BuildRequires:
+%endif
+
+%description
+Mock testing API for Jest
+
+
+%prep
+%autosetup -n package
+# license
+cp -p %{SOURCE1} .
+
+%build
+# nothing to do
+
+%install
+mkdir -p %{buildroot}%{nodejs_sitelib}/%{packagename}
+cp -pr package.json build/ \
+ %{buildroot}%{nodejs_sitelib}/%{packagename}
+
+%nodejs_symlink_deps
+
+%check
+%nodejs_symlink_deps --check
+%{__nodejs} -e 'require("./")'
+%if 0%{?enable_tests}
+%{_bindir}/echo -e "\e[103m -=#=- There are no tests -=#=- \e[0m"
+%else
+%{_bindir}/echo -e "\e[101m -=#=- Tests disabled -=#=- \e[0m"
+%endif
+
+%files
+%doc *.md
+%license LICENSE
+%{nodejs_sitelib}/%{packagename}
+
+%changelog
+* Wed Apr 18 2018 Jared K. Smith <jsmith(a)fedoraproject.org> - 22.4.3-1
+- Initial packaging
diff --git a/sources b/sources
new file mode 100644
index 0000000..b836cd5
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (jest-mock-22.4.3.tgz) =
fb847a987e4cd46e0d2b5e822a0f4dd43b426859aec61708a85e2540afd0d42228b6a32cfd705e99fa433de559045a30ea2c9436ee84053f6e81d34e4d3e68e5