From d6fd3c92f389139285ceb44dbb9f97fa26d4e15e Mon Sep 17 00:00:00 2001 From: Parag Nemade Date: Nov 27 2015 02:21:22 +0000 Subject: Update to 5.1.0 --- diff --git a/.gitignore b/.gitignore index 0acabf8..2715b27 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ /got-f677a3e.tar.gz /got-a707171.tar.gz /got-0bf55bb.tar.gz +/v5.1.0.tar.gz diff --git a/nodejs-got.spec b/nodejs-got.spec index acba2ab..4b9ae58 100644 --- a/nodejs-got.spec +++ b/nodejs-got.spec @@ -1,16 +1,14 @@ %global enable_tests 1 %global module_name got -%global commit0 0bf55bbe547c4de4744277dbebdbe7522d87332c -%global shortcommit0 %(c=%{commit0}; echo ${c:0:7}) Name: nodejs-%{module_name} -Version: 4.2.0 -Release: 2%{?dist} +Version: 5.1.0 +Release: 1%{?dist} Summary: Simplified HTTP/HTTPS requests License: MIT URL: https://github.com/sindresorhus/got -Source0: https://github.com/sindresorhus/%{module_name}/archive/%{commit0}.tar.gz#/%{module_name}-%{shortcommit0}.tar.gz +Source0: https://github.com/sindresorhus/%{module_name}/archive/v%{version}.tar.gz BuildArch: noarch ExclusiveArch: %{nodejs_arches} noarch @@ -40,7 +38,7 @@ Simplified HTTP/HTTPS requests. A nicer interface to the built-in http module. It also supports following redirects and automagically handling gzip/deflate. %prep -%setup -q -n %{module_name}-%{commit0} +%setup -q -n %{module_name}-%{version} rm -rf node_modules %nodejs_fixdep readable-stream ~2.x @@ -72,6 +70,9 @@ tap test/test-*.js %{nodejs_sitelib}/%{module_name} %changelog +* Thu Nov 26 2015 Parag Nemade - 5.1.0-1 +- Update to 5.1.0 + * Thu Nov 26 2015 Parag Nemade - 4.2.0-2 - fixdep npm(pinkie-promise) diff --git a/sources b/sources index b1ee4f0..9189446 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -c05a3e86e7e4481b0de355013e01d62e got-0bf55bb.tar.gz +2226c98afbe39ed83441e9e0f3d440fe v5.1.0.tar.gz