diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..90474f6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/qs-6.2.1.tgz diff --git a/.rh-nodejs6-nodejs-qs.metadata b/.rh-nodejs6-nodejs-qs.metadata new file mode 100644 index 0000000..24ffee8 --- /dev/null +++ b/.rh-nodejs6-nodejs-qs.metadata @@ -0,0 +1 @@ +ce03c5ff0935bc1d9d69a9f14cbd18e568d67625 SOURCES/qs-6.2.1.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-qs.spec b/SPECS/nodejs-qs.spec new file mode 100644 index 0000000..f17c0f2 --- /dev/null +++ b/SPECS/nodejs-qs.spec @@ -0,0 +1,111 @@ +%{?scl:%scl_package nodejs-qs} +%{!?scl:%global pkg_name %{name}} +%{?nodejs_find_provides_and_requires} + +%global enable_tests 0 + +Name: %{?scl_prefix}nodejs-qs +Version: 6.2.1 +Release: 1%{?dist} +Summary: A querystring parser that supports nesting and arrays, with a depth limit +License: BSD +URL: https://github.com/ljharb/qs +Source0: http://registry.npmjs.org/qs/-/qs-%{version}.tgz + +BuildArch: noarch + +%if 0%{?fedora} >= 19 +ExclusiveArch: %{nodejs_arches} noarch +%else +ExclusiveArch: %{ix86} x86_64 %{arm} noarch +%endif + +BuildRequires: %{?scl_prefix}nodejs-devel + +%if 0%{?enable_tests} +BuildRequires: npm(lab) +%endif + +%description +A querystring parsing and stringifying library with some added security. +%prep +%setup -q -n package +#%setup -q -T -D -a 1 -n package + +%build +#nothing to do + +%install +mkdir -p %{buildroot}%{nodejs_sitelib}/qs +cp -pr *.json lib %{buildroot}%{nodejs_sitelib}/qs + +%nodejs_symlink_deps + + +%if 0%{?enable_tests} + +%check +%nodejs_symlink_deps --check +make test-cov +%endif + +%files +%doc README.md LICENSE CONTRIBUTING.md +%{nodejs_sitelib}/qs + +%changelog +* Thu Jan 05 2017 Zuzana Svetlikova - 6.2.1-1 +- Updated with script + +* Thu Sep 15 2016 Zuzana Svetlikova - 6.1.0-1 +- Updated with script + +* Tue Feb 16 2016 Zuzana Svetlikova - 1.2.2-3 +- Use macro in -runtime dependency + +* Sun Feb 14 2016 Zuzana Svetlikova - 1.2.2-2 +- Rebuilt with updated metapackage + +* Thu Aug 13 2015 Zuzana Svetlikova - 1.2.2-1 +- New upstrem release +- change license +- change URL +- remove Source1 and Source10 +- add LICENSE to %%doc +- updated Summary and %%description + +* Thu Oct 17 2013 Tomas Hrcka - 0.6.5-4 +- replace provides and requires with macro + +* Sun Jul 28 2013 Jamie Nguyen - 0.6.5-3 +- add ExclusiveArch logic + +* Sat Jun 22 2013 T.C. Hollingsworth - 0.6.5-2 +- restrict to compatible arches + +* Sat May 25 2013 Jamie Nguyen - 0.6.5-1 +- update to upstream release 0.6.5 + +* Mon Apr 15 2013 T.C. Hollingsworth - 0.5.6-2 +- add macro to enable dependency generation in EPEL + +* Fri Apr 12 2013 Stanislav Ochotnicky - 0.5.6-2 +- Add support for software collections + +* Wed Apr 10 2013 Jamie Nguyen - 0.5.6-1 +- update to upstream release 0.5.6 + +* Fri Mar 22 2013 Jamie Nguyen - 0.5.5-1 +- update to upstream release 0.5.5 + +* Sat Mar 16 2013 Jamie Nguyen - 0.5.4-1 +- update to upstream release 0.5.4 + +* Wed Feb 20 2013 Jamie Nguyen - 0.5.3-3 +- fix typo in %%description + +* Wed Feb 20 2013 Jamie Nguyen - 0.5.3-2 +- fix typo in %%summary + +* Mon Feb 11 2013 Jamie Nguyen - 0.5.3-1 +- initial package