[nodejs-grunt-contrib-cssmin] update to 0.12.1

piotrp piotrp at fedoraproject.org
Sun Feb 15 21:24:08 UTC 2015


commit b150f9ce9609401321d6bc1bbc215c09cf060214
Author: Piotr Popieluch <piotr1212 at gmail.com>
Date:   Sun Feb 15 22:23:44 2015 +0100

    update to 0.12.1

 .gitignore                       |    1 +
 nodejs-grunt-contrib-cssmin.spec |   19 ++++++++++---------
 sources                          |    2 +-
 3 files changed, 12 insertions(+), 10 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 7c0aaf4..ce2658a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 /grunt-contrib-cssmin-0.10.0.tgz
+/grunt-contrib-cssmin-0.12.1.tar.gz
diff --git a/nodejs-grunt-contrib-cssmin.spec b/nodejs-grunt-contrib-cssmin.spec
index c393e2f..81fb075 100644
--- a/nodejs-grunt-contrib-cssmin.spec
+++ b/nodejs-grunt-contrib-cssmin.spec
@@ -6,14 +6,14 @@
 %global barename grunt-contrib-cssmin
 
 Name:               nodejs-grunt-contrib-cssmin
-Version:            0.10.0
+Version:            0.12.1
 Release:            1%{?dist}
 Summary:            Compress CSS files
 
 Group:              Development/Libraries
 License:            MIT
 URL:                https://www.npmjs.org/package/grunt-contrib-cssmin
-Source0:            http://registry.npmjs.org/%{barename}/-/%{barename}-%{version}.tgz
+Source0:            https://github.com/gruntjs/%{barename}/archive/v%{version}/%{barename}-%{version}.tar.gz
 BuildArch:          noarch
 
 %if 0%{?fedora} >= 19
@@ -29,11 +29,6 @@ BuildRequires:      npm(clean-css)
 BuildRequires:      npm(grunt)
 BuildRequires:      npm(maxmin)
 
-Requires:           npm(chalk)
-Requires:           npm(clean-css)
-Requires:           npm(grunt)
-Requires:           npm(maxmin)
-
 %if 0%{?enable_tests}
 BuildRequires:      npm(grunt-contrib-nodeunit)
 BuildRequires:      npm(grunt-contrib-jshint)
@@ -47,13 +42,14 @@ BuildRequires:      npm(grunt-contrib-clean)
 Compress CSS files.
 
 %prep
-%setup -q -n package
+%setup -q -n %{barename}-%{version}
 
 # Remove bundled node_modules if there are any..
 rm -rf node_modules/
 
 %nodejs_fixdep --caret
 %nodejs_fixdep maxmin ~0.x
+%nodejs_fixdep chalk ~0.x
 
 %build
 %nodejs_symlink_deps --build
@@ -74,10 +70,15 @@ grunt test
 
 
 %files
-%doc LICENSE-MIT README.md
+%doc README.md
+%license LICENSE-MIT
 %{nodejs_sitelib}/grunt-contrib-cssmin/
 
 %changelog
+* Sun Feb 19 2015 Piotr Popieluch <piotr1212 at gmail.com> - 0.12.1-1
+- Update to upstream 0.12.1
+- Changed Source0 from npm to github, license file was removed from npm
+
 * Thu Oct 23 2014 Ralph Bean <rbean at redhat.com> - 0.10.0-1
 - Latest upstream.
 - Build as noarch.
diff --git a/sources b/sources
index 9c7698b..1e8cafd 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-71af6f34df2f5142633e4e13f828d06f  grunt-contrib-cssmin-0.10.0.tgz
+9832bbe3673b9d372b2364dc7f8d322f  grunt-contrib-cssmin-0.12.1.tar.gz


More information about the scm-commits mailing list