The package rpms/nodejs-sift.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-sift.git/commit/?id=e3f325....
Change:
+ExclusiveArch: %{nodejs_arches} noarch
Thanks.
Full change:
============
commit e3f325e9aec1c7f951dc02bdf06245393990e0fe
Author: Jared Smith <jsmith(a)fedoraproject.org>
Date: Mon Apr 30 11:54:33 2018 -0400
Initial packaging
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..89ca748
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/sift-5.1.0.tgz
diff --git a/README.md b/README.md
deleted file mode 100644
index b9aad3b..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# nodejs-sift
-
-'Function for mongodb query style array filtering'
\ No newline at end of file
diff --git a/nodejs-sift.spec b/nodejs-sift.spec
new file mode 100644
index 0000000..50299f3
--- /dev/null
+++ b/nodejs-sift.spec
@@ -0,0 +1,63 @@
+%{?nodejs_find_provides_and_requires}
+
+%global packagename sift
+%global enable_tests 1
+
+Name: nodejs-sift
+Version: 5.1.0
+Release: 1%{?dist}
+Summary: Function for mongodb query style array filtering
+
+License: MIT
+URL:
https://github.com/crcn/sift.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: mocha
+BuildRequires: npm(bson)
+BuildRequires: npm(immutable)
+%endif
+
+%description
+Function for mongodb query style array filtering
+
+
+%prep
+%autosetup -n package
+
+chmod -x README.md
+
+
+%build
+# nothing to do
+
+%install
+mkdir -p %{buildroot}%{nodejs_sitelib}/%{packagename}
+cp -pr package.json sift*.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 MIT-LICENSE.txt
+%{nodejs_sitelib}/%{packagename}
+
+%changelog
+* Mon Apr 23 2018 Jared K. Smith <jsmith(a)fedoraproject.org> - 5.1.0-1
+- Initial packaging
diff --git a/sources b/sources
new file mode 100644
index 0000000..36fc5b9
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (sift-5.1.0.tgz) =
b503956f467ca49679d1005a2c8ff2471188e296958a7107701c5edab6d5dc89bc6dbb1ae3bc63ea5b963f0d9e906c21aecbb2cc409b432bb5a65b4095fb33f6