piotrp pushed to nodejs-html-minifier (epel7). "update to 0.7.0"

notifications at fedoraproject.org notifications at fedoraproject.org
Thu Mar 26 21:44:28 UTC 2015


>From 0bf29a5d8124d6dac27a601b5d6af375b67f778c Mon Sep 17 00:00:00 2001
From: Piotr Popieluch <piotr1212 at gmail.com>
Date: Tue, 10 Feb 2015 21:51:25 +0100
Subject: update to 0.7.0


diff --git a/.gitignore b/.gitignore
index 30d1671..5b53083 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
 /html-minifier-0.6.9.tgz
 /nodejs-html-minifier-tests-v0.6.9.tar.bz2
 /nodejs-html-minifier.man.1.gz
+/html-minifier-0.7.0.tar.gz
diff --git a/nodejs-html-minifier.spec b/nodejs-html-minifier.spec
index 95e5182..966cddc 100644
--- a/nodejs-html-minifier.spec
+++ b/nodejs-html-minifier.spec
@@ -3,17 +3,13 @@
 %global srcname html-minifier
 
 Name:           nodejs-%{srcname}
-Version:        0.6.9
+Version:        0.7.0
 Release:        1%{?dist}
 Summary:        HTML minifier with lint-like capabilities
 License:        MIT
 URL:            https://kangax.github.io/html-minifier/
-Source0:        https://registry.npmjs.org/%{srcname}/-/%{srcname}-%{version}.tgz
-# Source1 is generated by running Source10, which pulls from the upstream
-# revision control repository.
-Source1:        %{name}-tests-v%{version}.tar.bz2
-Source2:        %{name}.man.1.gz
-Source10:       %{name}-dl-tests.sh
+Source0:        https://github.com/kangax/%{srcname}/archive/v%{version}/%{srcname}-%{version}.tar.gz
+Source1:        %{name}.man.1.gz
 
 BuildArch:      noarch
 ExclusiveArch:  %{nodejs_arches} noarch
@@ -38,9 +34,8 @@ minifier, with lint-like capabilities.
 
 
 %prep
-%setup -q -n package
+%setup -q -n %{srcname}-%{version}
 rm -rf node_modules/
-%setup -q -T -D -a 1 -n package
 %nodejs_fixdep cli '~0.5'
 
 
@@ -56,7 +51,7 @@ mkdir -p %{buildroot}%{_bindir}
 ln -s %{nodejs_sitelib}/%{srcname}/cli.js %{buildroot}%{_bindir}/%{srcname}
 
 mkdir -p %{buildroot}%{_mandir}/man1
-cp -pr %{SOURCE2} %{buildroot}%{_mandir}/man1/html-minifier.1.gz
+cp -pr %{SOURCE1} %{buildroot}%{_mandir}/man1/html-minifier.1.gz
 
 %nodejs_symlink_deps
 
@@ -69,12 +64,16 @@ grunt test
 
 
 %files
-%doc README.md LICENSE sample-cli-config-file.conf
+%doc README.md sample-cli-config-file.conf
+%license LICENSE
 %{nodejs_sitelib}/%{srcname}
 %{_bindir}/%{srcname}
 %{_mandir}/man1/%{srcname}.1.gz
 
 
 %changelog
+* Tue Feb 10 2015 Piotr Popieluch <piotr1212 at gmail.com> - 0.7.0-1
+- update to 0.7.0
+
 * Tue Dec 16 2014 Piotr Popieluch <piotr1212 at gmail.com> - 0.6.9-1
 - Initial package
diff --git a/sources b/sources
index 76a3e57..09dd3f0 100644
--- a/sources
+++ b/sources
@@ -1,3 +1,2 @@
-4cf6eb3fea2ae4d08b38fe2ab5df2bcc  html-minifier-0.6.9.tgz
-9a2f42fdb270360001a69d9192e1ca39  nodejs-html-minifier-tests-v0.6.9.tar.bz2
 57f0feccf6287b5f15f83dfff066fca1  nodejs-html-minifier.man.1.gz
+a9c2f072c41d1ec01e51ee494e3671aa  html-minifier-0.7.0.tar.gz
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/nodejs-html-minifier.git/commit/?h=epel7&id=0bf29a5d8124d6dac27a601b5d6af375b67f778c


More information about the scm-commits mailing list