%{?nodejs_find_provides_and_requires} %global npm_name braces Summary: Fastest brace expansion for node.js Name: nodejs-%{npm_name} Version: 1.8.2 Release: 8%{?dist} License: MIT URL: https://github.com/jonschlinkert/braces Source0: http://registry.npmjs.org/%{npm_name}/-/%{npm_name}-%{version}.tgz BuildRequires: nodejs-devel ExclusiveArch: %{nodejs_arches} noarch BuildArch: noarch %description Fastest brace expansion for node.js, with the most complete support for the Bash 4.3 braces specification. - Complete support for the braces part of the Bash 4.3 Brace Expansion. Braces passes all of the relevant unit tests from the spec. - Expands comma-separated values: a/{b,c}/d => ['a/b/d', 'a/c/d'] - Expands alphabetical or numerical ranges: {1..3} => ['1', '2', '3'] - Very fast - Special characters can be used to generate interesting patterns. %prep %setup -q -n package %nodejs_fixdep lazy-cache %build %install mkdir -p %{buildroot}%{nodejs_sitelib}/%{npm_name} cp -pr index.js package.json utils.js %{buildroot}%{nodejs_sitelib}/%{npm_name} %nodejs_symlink_deps %files %{!?_licensedir:%global license %doc} %doc README.md %license LICENSE %{nodejs_sitelib}/%{npm_name} %changelog * Mon Jan 16 2017 Zuzana Svetlikova - 1.8.2-8 - Clean up * Tue Feb 16 2016 Zuzana Svetlikova - 1.8.2-7 - Use proper macro in -runtime dependency * Tue Feb 16 2016 Zuzana Svetlikova - 1.8.2-6 - Use proper macro in -runtime dependency * Tue Feb 16 2016 Zuzana Svetlikova - 1.8.2-5 - Use proper macro in -runtime dependency * Sun Feb 14 2016 Zuzana Svetlikova - 1.8.2-4 - rebuilt * Mon Jan 11 2016 Tomas Hrcka - 1.8.2-3 - Enable scl macros * Thu Dec 17 2015 Troy Dawson - 1.8.2-2 - Fix dependencies * Wed Dec 16 2015 Troy Dawson - 1.8.2-1 - Initial package