diff --git a/nodejs-underscore.spec b/nodejs-underscore.spec index fa55ffb..f8cddfc 100644 --- a/nodejs-underscore.spec +++ b/nodejs-underscore.spec @@ -10,7 +10,7 @@ Name: nodejs-underscore Version: 1.10.2 -Release: 3%{?dist} +Release: 3%{?dist}.1 Summary: JavaScript's functional programming helper library License: MIT URL: http://underscorejs.org/ @@ -62,17 +62,18 @@ rm -f underscore-min.* %build -/usr/bin/uglifyjs underscore.js -m --source-map -o underscore-min.js +/usr/bin/uglifyjs underscore.js -m --source-map underscore-min.map \ + -o underscore-min.js %install mkdir -p %{buildroot}%{nodejs_sitelib}/underscore -cp -pr package.json underscore.js underscore-min.js underscore-min.js.map \ +cp -pr package.json underscore.js underscore-min.js underscore-min.map \ %{buildroot}%{nodejs_sitelib}/underscore # Install browser version mkdir -p %{buildroot}%{installdir} -cp -pr underscore.js underscore-min.js underscore-min.js.map \ +cp -pr underscore.js underscore-min.js underscore-min.map \ %{buildroot}%{installdir} # No dependencies.