Blame SPECS/nodejs-request.spec

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