|
|
|
@ -3,7 +3,7 @@
|
|
|
|
|
|
|
|
|
|
Name: uglify-js
|
|
|
|
|
Version: 2.2.4
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Summary: JavaScript parser, mangler/compressor and beautifier toolkit
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
@ -52,7 +52,7 @@ mkdir -p %{buildroot}%{_datadir}/%{name}
|
|
|
|
|
cp -pr lib/* %{buildroot}%{_datadir}/%{name}/
|
|
|
|
|
|
|
|
|
|
mkdir -p %{buildroot}%{nodejs_sitelib}/%{name}
|
|
|
|
|
cp -pr bin package.json %{buildroot}%{nodejs_sitelib}/%{name}
|
|
|
|
|
cp -pr bin tools package.json %{buildroot}%{nodejs_sitelib}/%{name}
|
|
|
|
|
ln -sf %{_datadir}/%{name} %{buildroot}%{nodejs_sitelib}/%{name}/lib
|
|
|
|
|
|
|
|
|
|
mkdir -p %{buildroot}%{_bindir}
|
|
|
|
@ -80,6 +80,9 @@ rm -rf %buildroot
|
|
|
|
|
%doc README.md
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Wed Feb 13 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 2.2.4-2
|
|
|
|
|
- install tools dir
|
|
|
|
|
|
|
|
|
|
* Wed Feb 13 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 2.2.4-1
|
|
|
|
|
- new upstream release 2.2.4
|
|
|
|
|
|
|
|
|
|