The package rpms/nodejs-for-each.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-for-each.git/commit/?id=d8efc....
Change: +ExclusiveArch: %{nodejs_arches} noarch
Thanks.
Full change: ============
commit d8efcd1b29da65dece4bfb9660e24c4d1e3b6a84 Author: Jared Smith jsmith@fedoraproject.org Date: Thu May 31 12:14:46 2018 -0400
Initial packaging
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..ce82a24 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/for-each-0.3.2.tgz diff --git a/README.md b/README.md deleted file mode 100644 index 3f93991..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# nodejs-for-each - -'A better forEach' \ No newline at end of file diff --git a/nodejs-for-each.spec b/nodejs-for-each.spec new file mode 100644 index 0000000..0fceaea --- /dev/null +++ b/nodejs-for-each.spec @@ -0,0 +1,60 @@ +%{?nodejs_find_provides_and_requires} + +%global packagename for-each +%global enable_tests 1 + +Name: nodejs-for-each +Version: 0.3.2 +Release: 1%{?dist} +Summary: A better forEach + +License: MIT +URL: https://github.com/Raynos/for-each +Source0: https://registry.npmjs.org/%%7Bpackagename%7D/-/%%7Bpackagename%7D-%%7Bversi... + + +BuildArch: noarch +ExclusiveArch: %{nodejs_arches} noarch + +BuildRequires: nodejs-packaging +BuildRequires: npm(is-function) + +%if 0%{?enable_tests} +BuildRequires: npm(tape) +%endif + +%description +A better forEach + + +%prep +%autosetup -n package + + +%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} +%{__nodejs} test/test.js +%else +%{_bindir}/echo -e "\e[101m -=#=- Tests disabled -=#=- \e[0m" +%endif + +%files +%doc *.md +%license LICENCE +%{nodejs_sitelib}/%{packagename} + +%changelog +* Thu May 31 2018 Jared K. Smith jsmith@fedoraproject.org - 0.3.2-1 +- Initial packaging diff --git a/sources b/sources new file mode 100644 index 0000000..9cf222d --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (for-each-0.3.2.tgz) = 1191228f7ee0254db212acac6d9d84702ac4b51385c46faa4f5b9355f327c271eccfd675caa92e4a665a633c8b63a3f55739553f33f60b91df5120b40b2c5c33
arch-excludes@lists.fedoraproject.org