The package rpms/nodejs-tslib.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-tslib.git/commit/?id=c0d3f....
Change:
+ExclusiveArch: %{nodejs_arches} noarch
Thanks.
Full change:
============
commit c0d3fc8dfb93fe384195b5f18ecb584011c94475
Author: Jared Smith <jsmith(a)fedoraproject.org>
Date: Thu May 24 14:57:48 2018 -0400
Initial packaging
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..161ee49
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/tslib-1.9.1.tgz
diff --git a/README.md b/README.md
deleted file mode 100644
index 0dcd815..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# nodejs-tslib
-
-'Runtime library for TypeScript helper functions'
\ No newline at end of file
diff --git a/nodejs-tslib.spec b/nodejs-tslib.spec
new file mode 100644
index 0000000..8beee43
--- /dev/null
+++ b/nodejs-tslib.spec
@@ -0,0 +1,59 @@
+%{?nodejs_find_provides_and_requires}
+
+%global packagename tslib
+%global enable_tests 1
+
+Name: nodejs-tslib
+Version: 1.9.1
+Release: 1%{?dist}
+Summary: Runtime library for TypeScript helper functions
+
+License: ASL 2.0
+URL:
https://github.com/Microsoft/tslib.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
+Runtime library for TypeScript helper functions
+
+
+%prep
+%autosetup -n package
+
+
+%build
+# nothing to do
+
+%install
+mkdir -p %{buildroot}%{nodejs_sitelib}/%{packagename}
+cp -pr package.json *.js *.ts \
+ %{buildroot}%{nodejs_sitelib}/%{packagename}
+
+%nodejs_symlink_deps
+
+%check
+%nodejs_symlink_deps --check
+%{__nodejs} -e 'require("./")'
+%if 0%{?enable_tests}
+%{_bindir}/echo -e "\e[102m -=#=- This package has no tests -=#=- \e[0m"
+%else
+%{_bindir}/echo -e "\e[101m -=#=- Tests disabled -=#=- \e[0m"
+%endif
+
+%files
+%doc *.md docs/
+%license LICENSE.txt CopyrightNotice.txt
+%{nodejs_sitelib}/%{packagename}
+
+%changelog
+* Wed May 23 2018 Jared K. Smith <jsmith(a)fedoraproject.org> - 1.9.1-1
+- Initial packaging
diff --git a/sources b/sources
new file mode 100644
index 0000000..432b7bb
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (tslib-1.9.1.tgz) =
6af7cf4b6f079862cb736a387a571cd8422ad85707fbe628e58c690598bd630f770424c616d848e073c4e11a5ea7abd261068af1eebd3de94ce38b4f8fe45a42