Blame nodejs-got.spec

fccb93a
%global enable_tests 1
f8c1fc0
%global module_name got
f8c1fc0
f8c1fc0
Name:           nodejs-%{module_name}
9354422
Version:        6.6.3
1578819
Release:        2%{?dist}
f8c1fc0
Summary:        Simplified HTTP/HTTPS requests
f8c1fc0
f8c1fc0
License:        MIT
f8c1fc0
URL:            https://github.com/sindresorhus/got
d6fd3c9
Source0:        https://github.com/sindresorhus/%{module_name}/archive/v%{version}.tar.gz
f8c1fc0
BuildArch:      noarch
f8c1fc0
ExclusiveArch:  %{nodejs_arches} noarch
f8c1fc0
f8c1fc0
BuildRequires:  nodejs-packaging
f8c1fc0
fccb93a
%if 0%{?enable_tests}
fccb93a
BuildRequires: npm(tap)
fccb93a
BuildRequires: npm(create-error-class)
1578819
BuildRequires: npm(duplexer3)
1578819
BuildRequires: npm(get-stream)
fccb93a
BuildRequires: npm(is-redirect)
1578819
BuildRequires: npm(is-retry-allowed)
fccb93a
BuildRequires: npm(is-stream)
fccb93a
BuildRequires: npm(lowercase-keys)
1578819
BuildRequires: npm(timed-out)
1578819
BuildRequires: npm(unzip-response)
1578819
BuildRequires: npm(url-parse-lax)
1578819
BuildRequires: npm(into-stream)
1578819
BuildRequires: npm(pem)
fccb93a
%endif
fccb93a
f8c1fc0
%description
f8c1fc0
Simplified HTTP/HTTPS requests. A nicer interface to the built-in http module.
f8c1fc0
It also supports following redirects and automagically handling gzip/deflate.
f8c1fc0
f8c1fc0
%prep
d6fd3c9
%setup -q -n %{module_name}-%{version}
f8c1fc0
rm -rf node_modules
f8c1fc0
9da1066
%nodejs_fixdep timed-out 
f2173d3
f8c1fc0
%build
f8c1fc0
# nothing to build
f8c1fc0
f8c1fc0
%install
f8c1fc0
mkdir -p %{buildroot}%{nodejs_sitelib}/%{module_name}
f8c1fc0
cp -pr package.json *.js %{buildroot}%{nodejs_sitelib}/%{module_name}
f8c1fc0
%nodejs_symlink_deps
f8c1fc0
f8c1fc0
%if 0%{?enable_tests}
f8c1fc0
%check
f8c1fc0
%nodejs_symlink_deps --check
fccb93a
# These tests not working so remove them for now
fccb93a
rm -f test/test-error.js
fccb93a
rm -f test/test-arguments.js
fccb93a
rm -f test/test-https.js
fccb93a
rm -f test/test-http.js
fccb93a
tap test/test-*.js
f8c1fc0
%endif
f8c1fc0
f8c1fc0
%files
b5c8fb2
%doc readme.md
b5c8fb2
%license license
f8c1fc0
%{nodejs_sitelib}/%{module_name}
f8c1fc0
f8c1fc0
%changelog
1578819
* Sun Nov 27 2016 Parag Nemade <pnemade AT redhat DOT com> - 6.6.3-2
1578819
- Update BuildRequires and remove not needed fixdeps in %%prep
1578819
9354422
* Tue Nov 08 2016 Parag Nemade <pnemade AT redhat DOT com> - 6.6.3-1
9354422
- Update to 6.6.3 release
9354422
37c5fa7
* Thu Nov 03 2016 Parag Nemade <pnemade AT redhat DOT com> - 6.6.0-1
37c5fa7
- Update to 6.6.0 release
37c5fa7
9da1066
* Mon Sep 19 2016 Parag Nemade <pnemade AT redhat DOT com> - 6.5.0-2
9da1066
- fixdep for npm(timed-out)
9da1066
80bce69
* Fri Sep 16 2016 Parag Nemade <pnemade AT redhat DOT com> - 6.5.0-1
80bce69
- Update to 6.5.0 release
80bce69
8a790ae
* Sun Apr 10 2016 Parag Nemade <pnemade AT redhat DOT com> - 6.3.0-1
8a790ae
- Update to 6.3.0 release
8a790ae
e27362b
* Fri Mar  4 2016 Tom Hughes <tom@compton.nu> - 6.2.0-2
e27362b
- Update npm(get-stream) dependency
e27362b
172fb30
* Thu Mar 03 2016 Parag Nemade <pnemade AT redhat DOT com> - 6.2.0-1
172fb30
- Update to 6.2.0 release
172fb30
7e732f1
* Mon Feb 29 2016 Parag Nemade <pnemade AT redhat DOT com> - 6.1.2-1
7e732f1
- Update to 6.1.2 release
7e732f1
bd832a6
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 6.1.1-2
bd832a6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
bd832a6
7393297
* Thu Jan 28 2016 Parag Nemade <pnemade AT redhat DOT com> - 6.1.1-1
7393297
- Update to 6.1.1
7393297
09cbefa
* Tue Jan 19 2016 Parag Nemade <pnemade AT redhat DOT com> - 6.1.0-1
09cbefa
- Update to 6.1.0
09cbefa
0026126
* Tue Jan 12 2016 Parag Nemade <pnemade AT redhat DOT com> - 6.0.1-1
0026126
- Update to 6.0.1
0026126
9d4dba5
* Fri Jan 08 2016 Parag Nemade <pnemade AT redhat DOT com> - 6.0.0-1
9d4dba5
- Update to 6.0.0
9d4dba5
f19e7cf
* Mon Dec 21 2015 Parag Nemade <pnemade AT redhat DOT com> - 5.3.0-1
f19e7cf
- Update to 5.3.0
f19e7cf
d6fd3c9
* Thu Nov 26 2015 Parag Nemade <pnemade AT redhat DOT com> - 5.1.0-1
d6fd3c9
- Update to 5.1.0
d6fd3c9
ec91d97
* Thu Nov 26 2015 Parag Nemade <pnemade AT redhat DOT com> - 4.2.0-2
ec91d97
- fixdep npm(pinkie-promise)
ec91d97
ec91d97
* Fri Sep 11 2015 Parag Nemade <pnemade AT redhat DOT com> - 4.2.0-1
ec91d97
- Update to 4.2.0
ec91d97
8dca5af
* Wed Aug 26 2015 Parag Nemade <pnemade AT redhat DOT com> - 4.1.1-2
8dca5af
- fixdep npm(object-assign)
8dca5af
fccb93a
* Mon Aug 24 2015 Parag Nemade <pnemade AT redhat DOT com> - 4.1.1-1
fccb93a
- Update to 4.1.1
fccb93a
9470ae3
* Thu Jul 30 2015 Parag Nemade <pnemade AT redhat DOT com> - 4.1.0-1
9470ae3
- Update to 4.1.0
9470ae3
caf9d34
* Wed Jul 29 2015 Parag Nemade <pnemade AT redhat DOT com> - 4.0.0-1
caf9d34
- Update to 4.0.0
caf9d34
f2173d3
* Wed Jul 22 2015 Parag Nemade <pnemade AT redhat DOT com> - 3.3.1-2
f2173d3
- fixdep npm(readable-stream)
f2173d3
2260061
* Wed Jul 15 2015 Parag Nemade <pnemade AT redhat DOT com> - 3.3.1-1
2260061
- Update to 3.3.1
2260061
b6131b6
* Fri Jul 03 2015 Parag Nemade <pnemade AT redhat DOT com> - 3.3.0-1
b6131b6
- Update to 3.3.0
b6131b6
d272756
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.2-2
d272756
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
d272756
b5c8fb2
* Tue Feb 03 2015 Parag Nemade <pnemade AT redhat DOT com> - 2.3.2-1
b5c8fb2
- Update to 2.3.2
b5c8fb2
b5c8fb2
* Sun Jan 11 2015 Parag Nemade <pnemade AT redhat DOT com> - 2.3.0-1
b5c8fb2
- Update to 2.3.0
4e41c03
f8c1fc0
* Wed Dec 03 2014 Parag Nemade <pnemade AT redhat DOT com> - 2.2.0-1
f8c1fc0
- Initial packaging
f8c1fc0