Blame SPECS/nodejs-request.spec

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