%{?nodejs_find_provides_and_requires} %global packagename sprintf-js %global enable_tests 0 Name: nodejs-sprintf-js Version: 1.1.0 Release: 4%{?dist} Summary: JavaScript sprintf implementation License: BSD URL: https://github.com/alexei/sprintf.js.git Source0: https://registry.npmjs.org/%{packagename}/-/%{packagename}-%{version}.tgz ExclusiveArch: %{nodejs_arches} noarch BuildArch: noarch BuildRequires: nodejs-packaging Requires: nodejs %description JavaScript sprintf implementation %prep %setup -q -n package # clean out pre-minified versions rm -rf dist/ %build %install mkdir -p %{buildroot}%{nodejs_sitelib}/%{packagename} cp -pr *.json src/ \ %{buildroot}%{nodejs_sitelib}/%{packagename} %nodejs_symlink_deps %files %{!?_licensedir:%global license %doc} %doc *.md demo/ %license LICENSE %{nodejs_sitelib}/%{packagename} %changelog * Fri Jul 13 2018 Fedora Release Engineering - 1.1.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Thu Feb 08 2018 Fedora Release Engineering - 1.1.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 1.1.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sun May 07 2017 Jared Smith - 1.1.0-1 - Update to upstream 1.1.0 release * Fri Feb 10 2017 Fedora Release Engineering - 1.0.3-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Thu Feb 04 2016 Fedora Release Engineering - 1.0.3-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Sat Dec 05 2015 Jared Smith - 1.0.3-4 - Do not ship the dist/ directory, it can be moved to a js-sprintf-js package in the future if needed * Sat Dec 05 2015 Jared Smith - 1.0.3-3 - Fix inclusion of src/ directory - Minify the builds during build * Mon Oct 19 2015 Jared Smith - 1.0.3-2 - rebuilt for missing files in package * Mon Oct 19 2015 Jared Smith - 1.0.3-1 - Initial packaging