The package rpms/nodejs-ecstatic.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-ecstatic.git/commit/?id=25....
Change:
+ExclusiveArch: %{nodejs_arches} noarch
Thanks.
Full change:
============
commit 25725d650534ebdcf86732fd7dd37ecf7d87ad03
Author: Parag A Nemade <pnemade(a)fedoraproject.org>
Date: Thu May 4 09:31:14 2017 +0530
Initial commit (#1447230)
diff --git a/.gitignore b/.gitignore
index e69de29..f91cd7e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/2.1.0.tar.gz
diff --git a/nodejs-ecstatic.spec b/nodejs-ecstatic.spec
new file mode 100644
index 0000000..bbe3de9
--- /dev/null
+++ b/nodejs-ecstatic.spec
@@ -0,0 +1,60 @@
+%{?nodejs_find_provides_and_requires}
+
+#some tests are failing
+%global enable_tests 0
+%global packagename ecstatic
+
+Name: nodejs-%{packagename}
+Version: 2.1.0
+Release: 1%{?dist}
+Summary: A static file server middleware that works with core http, express or on the
CLI
+License: MIT
+URL:
https://github.com/jfhbrook/node-%{packagename}
+Source0:
https://github.com/jfhbrook/node-%{packagename}/archive/%{version}.tar.gz
+
+BuildArch: noarch
+ExclusiveArch: %{nodejs_arches} noarch
+
+BuildRequires: nodejs-packaging
+BuildRequires: npm(url-join)
+BuildRequires: npm(he)
+
+%if 0%{?enable_tests}
+BuildRequires: npm(tap)
+%endif
+
+%description
+A static file server middleware that works with core http, express
+or on the CLI.
+
+%prep
+%autosetup -n node-%{packagename}-%{version}
+
+%nodejs_fixdep he
+%nodejs_fixdep url-join
+
+%build
+#nothing to do
+
+%install
+mkdir -p %{buildroot}%{nodejs_sitelib}/%{packagename}
+cp -pr package.json lib tools \
+ %{buildroot}%{nodejs_sitelib}/%{packagename}
+
+%nodejs_symlink_deps
+
+%check
+%nodejs_symlink_deps --check
+%{__nodejs} -e 'require("./")'
+%if 0%{?enable_tests}
+tap --coverage test/*.js
+%endif
+
+%files
+%doc README.md
+%license LICENSE.txt
+%{nodejs_sitelib}/%{packagename}
+
+%changelog
+* Fri Apr 28 2017 Parag Nemade <pnemade AT redhat DOT com> - 2.1.0-1
+- initial package
diff --git a/sources b/sources
index e69de29..5719201 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (2.1.0.tar.gz) =
b4efbd495ac3d53181aae1c1b1b2096558af3bd793bed9bd615a671b5ff2387a459e5ab5e5297359a36acb248985258814fe6391fbc7f74024adae23746961ec