install tools dir

epel9
T.C. Hollingsworth 12 years ago
parent 59b1fc9196
commit e328d9348c

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

Loading…
Cancel
Save