The package rpms/nodejs-async-arrays.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-async-arrays.git/commit/?i....
Change:
+ExclusiveArch: %{nodejs_arches} noarch
Thanks.
Full change:
============
commit 77b8307a769d322b9466890893e3f0a1f419b9c5
Author: Jared Smith <jsmith(a)fedoraproject.org>
Date: Mon Apr 30 12:21:12 2018 -0400
Initial packaging
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..63930f7
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/async-arrays-1.0.1.tgz
diff --git a/README.md b/README.md
deleted file mode 100644
index 6328c6f..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# nodejs-async-arrays
-
-'Async control for arrays'
\ No newline at end of file
diff --git a/nodejs-async-arrays.spec b/nodejs-async-arrays.spec
new file mode 100644
index 0000000..ed40dd7
--- /dev/null
+++ b/nodejs-async-arrays.spec
@@ -0,0 +1,61 @@
+%{?nodejs_find_provides_and_requires}
+
+%global packagename async-arrays
+%global enable_tests 1
+
+Name: nodejs-async-arrays
+Version: 1.0.1
+Release: 1%{?dist}
+Summary: Async control for arrays
+
+License: MIT
+URL:
https://github.com/khrome/async-arrays.git
+Source0:
https://registry.npmjs.org/%{packagename}/-/%{packagename}-%{version}.tgz
+
+
+BuildArch: noarch
+ExclusiveArch: %{nodejs_arches} noarch
+
+BuildRequires: nodejs-packaging
+BuildRequires: npm(sift)
+
+%if 0%{?enable_tests}
+BuildRequires: mocha
+BuildRequires: npm(should)
+%endif
+
+%description
+Async control for arrays
+
+
+%prep
+%autosetup -n package
+
+
+%build
+# nothing to do
+
+%install
+mkdir -p %{buildroot}%{nodejs_sitelib}/%{packagename}
+cp -pr package.json %{packagename}.js \
+ %{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
+%{nodejs_sitelib}/%{packagename}
+
+%changelog
+* Mon Apr 23 2018 Jared K. Smith <jsmith(a)fedoraproject.org> - 1.0.1-1
+- Initial packaging
diff --git a/sources b/sources
new file mode 100644
index 0000000..53554c9
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (async-arrays-1.0.1.tgz) =
c45c0b86cb288bc3258797d2308658378804c61e798afcb7c2f76438bdb9a63903a44571e4c17221ce323b384d4bb14478156734437770ea56d34ecb0d760ce3