From 84aac2d4ad334c77eafd5f480de70f5e8e3a26fa Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Apr 26 2017 10:38:10 +0000 Subject: import rh-nodejs6-nodejs-braces-1.8.2-8.el7 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..1ba27dd --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/braces-1.8.2.tgz diff --git a/.rh-nodejs6-nodejs-braces.metadata b/.rh-nodejs6-nodejs-braces.metadata new file mode 100644 index 0000000..f57c4eb --- /dev/null +++ b/.rh-nodejs6-nodejs-braces.metadata @@ -0,0 +1 @@ +036e024051d4bbc7096428b4d6f20ea1f137a794 SOURCES/braces-1.8.2.tgz diff --git a/README.md b/README.md deleted file mode 100644 index 98f42b4..0000000 --- a/README.md +++ /dev/null @@ -1,4 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SPECS/nodejs-braces.spec b/SPECS/nodejs-braces.spec new file mode 100644 index 0000000..b398ae5 --- /dev/null +++ b/SPECS/nodejs-braces.spec @@ -0,0 +1,71 @@ +%{?scl:%scl_package nodejs-%{npm_name}} +%{!?scl:%global pkg_name %{name}} + +%{?nodejs_find_provides_and_requires} +%global npm_name braces + +Summary: Fastest brace expansion for node.js +Name: %{?scl_prefix}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: %{?scl_prefix}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