The package rpms/nodejs-immutable.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-immutable.git/commit/?id=3....
Change:
+ExclusiveArch: %{nodejs_arches} noarch
Thanks.
Full change:
============
commit 3f197951447363aaa0d1969124ae5b9f9b8b02fe
Author: Jared Smith <jsmith(a)fedoraproject.org>
Date: Tue Apr 24 13:14:03 2018 -0400
Initial packaging
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..9126e7d
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/immutable-3.8.2.tgz
diff --git a/README.md b/README.md
deleted file mode 100644
index 651880a..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# nodejs-immutable
-
-'Immutable Data Collections'
\ No newline at end of file
diff --git a/nodejs-immutable.spec b/nodejs-immutable.spec
new file mode 100644
index 0000000..cf1b8d7
--- /dev/null
+++ b/nodejs-immutable.spec
@@ -0,0 +1,61 @@
+%{?nodejs_find_provides_and_requires}
+
+%global packagename immutable
+
+# Tests disabled, as the npm(jest) test suite isn't in Fedora yet
+%global enable_tests 0
+
+Name: nodejs-immutable
+Version: 3.8.2
+Release: 1%{?dist}
+Summary: Immutable Data Collections
+
+License: MIT
+URL:
https://github.com/facebook/immutable-js.git
+Source0:
https://registry.npmjs.org/%{packagename}/-/%{packagename}-%{version}.tgz
+
+
+BuildArch: noarch
+ExclusiveArch: %{nodejs_arches} noarch
+
+BuildRequires: nodejs-packaging
+
+%if 0%{?enable_tests}
+BuildRequires: npm(jest)
+%endif
+
+%description
+Immutable Data Collections
+
+
+%prep
+%autosetup -n package
+
+
+%build
+# nothing to do
+
+%install
+mkdir -p %{buildroot}%{nodejs_sitelib}/%{packagename}
+cp -pr package.json dist/ contrib/ \
+ %{buildroot}%{nodejs_sitelib}/%{packagename}
+
+%nodejs_symlink_deps
+
+%check
+%nodejs_symlink_deps --check
+%{__nodejs} -e 'require("./")'
+%if 0%{?enable_tests}
+NODE_ENV=test %{_bindir}/jest
+%else
+%{_bindir}/echo -e "\e[101m -=#=- Tests disabled -=#=- \e[0m"
+%endif
+
+%files
+%doc *.md
+%license LICENSE
+%{nodejs_sitelib}/%{packagename}
+
+%changelog
+* Mon Apr 23 2018 Jared K. Smith <jsmith(a)fedoraproject.org> - 3.8.2-1
+- Initial packaging
diff --git a/sources b/sources
new file mode 100644
index 0000000..38d2ed2
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (immutable-3.8.2.tgz) =
d79819a10dfc7988c48f1928adf6dc8012812fa47b4f8e7d3ae2be0a9716b7b3b7285e2e3c2c76b43d2e1444e5503232a3ed7bf3d72b6cc853bd0052479c8132