The package rpms/nodejs-call-me-maybe.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-call-me-maybe.git/commit/?....
Change:
+ExclusiveArch: %{nodejs_arches} noarch
Thanks.
Full change:
============
commit 80e7249f7d5168df303ef8134ea7d29edad70fea
Author: Jared Smith <jsmith(a)fedoraproject.org>
Date: Thu Apr 26 14:28:22 2018 -0400
Initial packaging
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..86497b3
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/call-me-maybe-1.0.1.tgz
diff --git a/README.md b/README.md
deleted file mode 100644
index bc1c441..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# nodejs-call-me-maybe
-
-'Let your JS API users either give you a callback or receive a promise'
\ No newline at end of file
diff --git a/nodejs-call-me-maybe.spec b/nodejs-call-me-maybe.spec
new file mode 100644
index 0000000..61ef0a1
--- /dev/null
+++ b/nodejs-call-me-maybe.spec
@@ -0,0 +1,59 @@
+%{?nodejs_find_provides_and_requires}
+
+%global packagename call-me-maybe
+%global enable_tests 1
+
+Name: nodejs-call-me-maybe
+Version: 1.0.1
+Release: 1%{?dist}
+Summary: Let your JS API users either give you a callback or receive a promise
+
+License: MIT
+URL:
https://github.com/limulus/call-me-maybe.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
+%endif
+
+%description
+Let your JS API users either give you a callback or receive a promise
+
+
+%prep
+%autosetup -n package
+
+
+%build
+# nothing to do
+
+%install
+mkdir -p %{buildroot}%{nodejs_sitelib}/%{packagename}
+cp -pr package.json *.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..1049f70
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (call-me-maybe-1.0.1.tgz) =
c02c85b0342428fc3017c043c0e896371ffd2b8e4bfe1be08108836ef7bebe230d3109d686b95822e064d3da1f7dfc0246d08ef4fe97c14b6db9fcd4d7558257