diff --git a/.gitignore b/.gitignore index 3fd91d0..41ebf92 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /grunt-contrib-htmlmin-0.4.0.tar.gz +/grunt-contrib-htmlmin-e210c0acbbbcb8e1b3960a0168d60f843e2f9830.tar.gz diff --git a/nodejs-grunt-contrib-htmlmin.spec b/nodejs-grunt-contrib-htmlmin.spec index 0adcf44..c539ba0 100644 --- a/nodejs-grunt-contrib-htmlmin.spec +++ b/nodejs-grunt-contrib-htmlmin.spec @@ -5,14 +5,15 @@ # https://github.com/jshint/jshint/issues/1234 %global enable_tests 0 %global srcname grunt-contrib-htmlmin +%global commit e210c0acbbbcb8e1b3960a0168d60f843e2f9830 Name: nodejs-%{srcname} Version: 0.4.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Minify HTML License: MIT URL: https://github.com/gruntjs/grunt-contrib-htmlmin -Source0: https://github.com/gruntjs/%{srcname}/archive/v%{version}/%{srcname}-%{version}.tar.gz +Source0: https://github.com/gruntjs/%{srcname}/archive/%{commit}/%{srcname}-%{commit}.tar.gz BuildArch: noarch ExclusiveArch: %{nodejs_arches} noarch @@ -33,7 +34,7 @@ BuildRequires: npm(grunt-contrib-nodeunit) %prep -%setup -q -n %{srcname}-%{version} +%setup -q -n %{srcname}-%{commit} rm -rf node_modules/ %nodejs_fixdep chalk '0.x' @@ -65,11 +66,14 @@ grunt test %changelog +* Sun Mar 8 2015 Piotr Popieluch - 0.4.0-2 +- Update Source0 to comply with github source guidelines + * Fri Feb 27 2015 Piotr Popieluch - 0.4.0-1 - Updated to upstream 0.4.0 - Corrected URL - Clarified disabled check comment -- Moved licence from %doc to %license +- Moved licence from %%doc to %%license - Moved Source0 from npm to github, new npm release doesn't contain the license - Fixdep on chalk and pretty-bytes diff --git a/sources b/sources index 1c30bbe..893f47a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -f2cf639b082847268cdd7541f05ccad0 grunt-contrib-htmlmin-0.4.0.tar.gz +8b3af267d3934b086767f934702a5541 grunt-contrib-htmlmin-e210c0acbbbcb8e1b3960a0168d60f843e2f9830.tar.gz