From a9a8eed620c8523c0495d6a41f33ae640ef783d6 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Apr 26 2017 09:38:35 +0000 Subject: import rh-nodejs6-nodejs-request-2.75.0-1.el7 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..397a53f --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/request-2.75.0.tgz diff --git a/.rh-nodejs6-nodejs-request.metadata b/.rh-nodejs6-nodejs-request.metadata new file mode 100644 index 0000000..c8d2ffc --- /dev/null +++ b/.rh-nodejs6-nodejs-request.metadata @@ -0,0 +1 @@ +d2b8268a286da13eaa5d01adf5d18cc90f657d93 SOURCES/request-2.75.0.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-request.spec b/SPECS/nodejs-request.spec new file mode 100644 index 0000000..4c39b90 --- /dev/null +++ b/SPECS/nodejs-request.spec @@ -0,0 +1,156 @@ +%{?scl:%scl_package nodejs-request} +%{!?scl:%global pkg_name %{name}} +%{?nodejs_find_provides_and_requires} + +%global enable_tests 0 + +Name: %{?scl_prefix}nodejs-request +Version: 2.75.0 +Release: 1%{?dist} +Summary: Simplified HTTP request client +License: ASL 2.0 +URL: https://github.com/request/request +Source0: http://registry.npmjs.org/request/-/request-%{version}.tgz +BuildArch: noarch +ExclusiveArch: %{ix86} x86_64 %{arm} noarch +BuildRequires: %{?scl_prefix}nodejs-devel + +%description +Request is designed to be the simplest way possible to make HTTP calls. It +supports HTTPS and follows redirects by default. + +You can stream any response to a file stream. You can also stream a file to a +PUT or POST request. It also supports a few simple server and proxy functions. + +%prep +%setup -q -n package + +%nodejs_fixdep har-validator + +#remove bundled modules +rm -rf node_modules + +%build +#nothing to do + +%install +mkdir -p %{buildroot}%{nodejs_sitelib}/request +cp -pr lib/ *.js package.json %{buildroot}%{nodejs_sitelib}/request + +%nodejs_symlink_deps + + +%if 0%{?enable_tests} +%check +node tests/run.js +%endif + +%files +%{nodejs_sitelib}/request +%doc README.md +%license LICENSE + +%changelog +* Thu Jan 05 2017 Zuzana Svetlikova - 2.75.0-1 +- Updated with script + +* Thu Sep 15 2016 Zuzana Svetlikova - 2.72.0-1 +- Updated with script + +* Sun Feb 14 2016 Zuzana Svetlikova - 2.42.0-7 +- rebuilt + +* Fri Sep 11 2015 Zuzana Svetlikova - 2.42.0-6 +- Add lib/ to %%install + +* Thu Aug 20 2015 Zuzana Svetlikova - 2.42.0-5 +- Rebuilt + +* Thu Aug 20 2015 Zuzana Svetlikova - 2.42.0-4 +- Modified macros + +* Thu Aug 13 2015 Zuzana Svetlikova - 2.42.0-3 +- Add %%nodejs_fixdep macros + +* Mon Aug 10 2015 Zuzana Svetlikova - 2.42.0-2 +- Fix ExclusiveArch + +* Wed Jul 15 2015 Zuzana Svetlikova - 2.42.0-1 +- New upstream release +- minor changes + +* Thu Oct 17 2013 Tomas Hrcka - 2.25.0-2 +- replace provides and requires with macro + +* Tue Jul 30 2013 T.C. Hollingsworth - 2.25.0-1 +- new upstream release 2.25.0 + +* Sun Jun 23 2013 T.C. Hollingsworth - 2.21.0-1 +- new upstream release 2.21.0 + +* Sat Jun 22 2013 T.C. Hollingsworth - 2.16.6-5 +- restrict to compatible arches + +* Tue May 28 2013 Jamie Nguyen - 2.16.6-4 +- make versioned dependency on npm(qs) less specific +- add %%check + +* Mon Apr 15 2013 T.C. Hollingsworth - 2.16.6-3 +- add macro for EPEL6 dependency generation + +* Fri Apr 12 2013 Stanislav Ochotnicky - 2.16.6-3 +- Add support for software collections + +* Wed Apr 10 2013 T.C. Hollingsworth - 2.16.6-2 +- fix versions for newly added dependencies + +* Wed Apr 03 2013 T.C. Hollingsworth - 2.16.6-1 +- new upstream release 2.16.6 +- cookie library now unbundled upstream + +* Wed Mar 13 2013 T.C. Hollingsworth - 2.14.0-1 +- new upstream release 2.14.0 + +* Tue Jan 29 2013 T.C. Hollingsworth - 2.12.0-5 +- actually make patch work +- fix typo + +* Mon Jan 28 2013 T.C. Hollingsworth - 2.12.0-4 +- actually apply patch +- manually create dependency link to private module tobi-cookie + +* Thu Jan 24 2013 T.C. Hollingsworth - 2.12.0-3 +- unbundle cookie stuff + +* Tue Jan 08 2013 T.C. Hollingsworth - 2.12.0-2 +- add missing build section +- improve description + +* Mon Dec 31 2012 T.C. Hollingsworth - 2.12.0-1 +- new upstream release 2.12.0 +- clean up for submission + +* Wed Apr 18 2012 T.C. Hollingsworth - 2.9.202-1 +- New upstream release 2.9.202 + +* Sun Mar 04 2012 T.C. Hollingsworth - 2.9.153-1 +- new upstream release 2.9.153 + +* Sat Feb 25 2012 T.C. Hollingsworth - 2.9.151-1 +- new upstream release 2.9.151 + +* Sat Jan 21 2012 T.C. Hollingsworth - 2.9.100-1 +- new upstream release 2.9.100 + +* Thu Dec 22 2011 T.C. Hollingsworth - 2.2.9-1 +- new upstream release 2.2.9 + +* Mon Nov 07 2011 T.C. Hollingsworth - 2.2.0-1 +- new upstream release 2.2.0 +- adds node v0.6 support + +* Tue Oct 25 2011 T.C. Hollingsworth - 1.2.0-2.20110928.646c80dgit +- npm needs a newer git snapshot (apparently upstream moved to rolling release anyway) + +* Tue Oct 25 2011 T.C. Hollingsworth - 1.2.0-1 +- initial package