|
|
@ -5,7 +5,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
Name: uglify-js
|
|
|
|
Name: uglify-js
|
|
|
|
Version: 2.2.4
|
|
|
|
Version: 2.2.4
|
|
|
|
Release: 2%{?dist}
|
|
|
|
Release: 3%{?dist}
|
|
|
|
Summary: JavaScript parser, mangler/compressor and beautifier toolkit
|
|
|
|
Summary: JavaScript parser, mangler/compressor and beautifier toolkit
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
|
@ -60,8 +60,7 @@ ln -sf %{_datadir}/%{name} %{buildroot}%{nodejs_sitelib}/%{name}/lib
|
|
|
|
mkdir -p %{buildroot}%{_bindir}
|
|
|
|
mkdir -p %{buildroot}%{_bindir}
|
|
|
|
ln -sf ../lib/node_modules/uglify-js/bin/uglifyjs %{buildroot}%{_bindir}/uglifyjs
|
|
|
|
ln -sf ../lib/node_modules/uglify-js/bin/uglifyjs %{buildroot}%{_bindir}/uglifyjs
|
|
|
|
|
|
|
|
|
|
|
|
#nodejs-symlink-deps is not called because this package does not have any
|
|
|
|
%nodejs_symlink_deps
|
|
|
|
#dependencies and can be used outside of node
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%if 0%{?enable_tests}
|
|
|
|
%if 0%{?enable_tests}
|
|
|
|
%check
|
|
|
|
%check
|
|
|
@ -85,6 +84,9 @@ rm -rf %buildroot
|
|
|
|
%doc README.md
|
|
|
|
%doc README.md
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Tue Apr 16 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 2.2.4-3
|
|
|
|
|
|
|
|
- call nodejs_symlink_deps
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Feb 13 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 2.2.4-2
|
|
|
|
* Wed Feb 13 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 2.2.4-2
|
|
|
|
- install tools dir
|
|
|
|
- install tools dir
|
|
|
|
- enable tests
|
|
|
|
- enable tests
|
|
|
|