|
|
@@ -22,8 +22,8 @@
|
|
|
##
|
|
|
|
|
|
# package version
|
|
|
-%define V_htmlmin 0.7.2
|
|
|
-%define V_htmlmin_snap 20150711
|
|
|
+%define V_htmlmin 1.0.1
|
|
|
+%define V_htmlmin_snap 20160101
|
|
|
|
|
|
# package information
|
|
|
Name: htmlmin
|
|
|
@@ -36,7 +36,7 @@ Class: EVAL
|
|
|
Group: Language
|
|
|
License: MIT
|
|
|
Version: %{V_htmlmin}
|
|
|
-Release: 20150711
|
|
|
+Release: 20160101
|
|
|
|
|
|
# list of sources
|
|
|
Source0: http://download.openpkg.org/components/versioned/htmlmin/htmlmin-%{V_htmlmin}-%{V_htmlmin_snap}.tar.gz
|
|
|
@@ -72,10 +72,7 @@ PreReq: OpenPKG, openpkg >= 20140101, node
|
|
|
%{SOURCE htmlmin.sh} \
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/bin/htmlmin
|
|
|
cp -rp \
|
|
|
- node_modules/html-minifier/package.json \
|
|
|
- node_modules/html-minifier/cli.js \
|
|
|
- node_modules/html-minifier/dist \
|
|
|
- node_modules/html-minifier/node_modules \
|
|
|
+ node_modules/* \
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/lib/htmlmin/
|
|
|
%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std}
|
|
|
|