From b5c8fb20637d9e1741908c488fd3dac16292c482 Mon Sep 17 00:00:00 2001 From: Parag Nemade Date: Feb 03 2015 15:35:20 +0000 Subject: Update to 2.3.2 --- diff --git a/.gitignore b/.gitignore index d4790b3..c94ead8 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /v2.2.0.tar.gz +/v2.3.2.tar.gz diff --git a/nodejs-got.spec b/nodejs-got.spec index 9f1c28c..37c9ada 100644 --- a/nodejs-got.spec +++ b/nodejs-got.spec @@ -1,23 +1,20 @@ +# taper module not in fedora yet %global enable_tests 0 %global module_name got Name: nodejs-%{module_name} -Version: 2.2.0 -Release: 2%{?dist} +Version: 2.3.2 +Release: 1%{?dist} Summary: Simplified HTTP/HTTPS requests License: MIT URL: https://github.com/sindresorhus/got -Source0: https://github.com/sindresorhus/got/archive/v2.2.0.tar.gz +Source0: https://github.com/sindresorhus/got/archive/v%{version}.tar.gz BuildArch: noarch ExclusiveArch: %{nodejs_arches} noarch BuildRequires: nodejs-packaging -Requires: npm(object-assign) -Requires: npm(read-all-stream) -Requires: npm(timed-out) - %description Simplified HTTP/HTTPS requests. A nicer interface to the built-in http module. It also supports following redirects and automagically handling gzip/deflate. @@ -26,8 +23,6 @@ It also supports following redirects and automagically handling gzip/deflate. %setup -q -n %{module_name}-%{version} rm -rf node_modules -%nodejs_fixdep read-all-stream ~1.x - %build # nothing to build @@ -36,19 +31,25 @@ mkdir -p %{buildroot}%{nodejs_sitelib}/%{module_name} cp -pr package.json *.js %{buildroot}%{nodejs_sitelib}/%{module_name} %nodejs_symlink_deps +%nodejs_fixdep read-all-stream ~1.x + %if 0%{?enable_tests} %check %nodejs_symlink_deps --check -mocha --timeout 50000 +taper test/test-*.js %endif %files -%doc readme.md license +%doc readme.md +%license license %{nodejs_sitelib}/%{module_name} %changelog -* Sun Feb 01 2015 Parag Nemade - 2.2.0-2 -- Fix read-all-stream depedency +* Tue Feb 03 2015 Parag Nemade - 2.3.2-1 +- Update to 2.3.2 + +* Sun Jan 11 2015 Parag Nemade - 2.3.0-1 +- Update to 2.3.0 * Wed Dec 03 2014 Parag Nemade - 2.2.0-1 - Initial packaging diff --git a/sources b/sources index 84ad43b..f13f1bc 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -c31437f9a95f0f5a395b0c2a246671df v2.2.0.tar.gz +6d801d74c91d4642bc5c4b21dbedb58b v2.3.2.tar.gz