From f24fae87b5f07f32ece7b114c1a167dac0c92a49 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Apr 26 2017 09:37:35 +0000 Subject: import rh-nodejs6-nodejs-balanced-match-0.4.2-1.el7 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..3a1b18a --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/balanced-match-0.4.2.tgz diff --git a/.rh-nodejs6-nodejs-balanced-match.metadata b/.rh-nodejs6-nodejs-balanced-match.metadata new file mode 100644 index 0000000..214cf6c --- /dev/null +++ b/.rh-nodejs6-nodejs-balanced-match.metadata @@ -0,0 +1 @@ +cb3f3e3c732dc0f01ee70b403f302e61d7709838 SOURCES/balanced-match-0.4.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-balanced-match.spec b/SPECS/nodejs-balanced-match.spec new file mode 100644 index 0000000..6b71f2c --- /dev/null +++ b/SPECS/nodejs-balanced-match.spec @@ -0,0 +1,78 @@ +%{?scl:%scl_package nodejs-balanced-match} +%{!?scl:%global pkg_name %{name}} + +%{?nodejs_find_provides_and_requires} + +%global packagename balanced-match +%global enable_tests 0 +# tests disabled to to reliance on ancient version of 'tape' + +Name: %{?scl_prefix}nodejs-balanced-match +Version: 0.4.2 +Release: 1%{?dist} +Summary: Match balanced character pairs, like "{" and "}" + +License: MIT +URL: https://github.com/juliangruber/balanced-match.git +Source0: https://registry.npmjs.org/%{packagename}/-/%{packagename}-%{version}.tgz + +ExclusiveArch: %{nodejs_arches} noarch +BuildArch: noarch + +BuildRequires: %{?scl_prefix}runtime + +%if 0%{?enable_tests} +BuildRequires: %{?scl_prefix}tape +%endif + +%description +Match balanced character pairs, like "{" and "}" + +%prep +%setup -q -n package +# setup the tests +#%setup -q -T -D -a 1 -n package + +%build +# nothing to do! + +%install +mkdir -p %{buildroot}%{nodejs_sitelib}/%{packagename} +cp -pr package.json *.js \ + %{buildroot}%{nodejs_sitelib}/%{packagename} + +%nodejs_symlink_deps + +%if 0%{?enable_tests} + +%check +%nodejs_symlink_deps --check +%{?scl:scl enable %{scl} - << \EOF} +make test +%{?scl:EOF} +%endif + +%files +%{!?_licensedir:%global license %doc} +%doc README.md +%license LICENSE.md +%{nodejs_sitelib}/%{packagename} + +%changelog +* Wed Sep 07 2016 Zuzana Svetlikova - 0.4.2-1 +- Updated with script to latest version + +* Wed Sep 07 2016 Zuzana Svetlikova - 0.3.0-1 +- Updated with script + +* Tue Feb 16 2016 Zuzana Svetlikova - 0.2.1-4 +- Use macro in -runtime dependency + +* Sun Feb 14 2016 Zuzana Svetlikova - 0.2.1-3 +- Rebuilt with updated metapackage + +* Tue Dec 01 2015 Tomas Hrcka - 0.2.1-2 +- Enable scl macros + +* Tue Oct 20 2015 Jared Smith - 0.2.0-1 +- Initial packaging