|
|
|
@ -11,7 +11,7 @@
|
|
|
|
|
|
|
|
|
|
Name: uglify-js
|
|
|
|
|
Version: 2.7.0
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Summary: JavaScript parser, mangler/compressor and beautifier toolkit
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
@ -106,6 +106,10 @@ ln -sf uglify-js@2 %{buildroot}%{nodejs_sitelib}/uglify-js
|
|
|
|
|
%nodejs_symlink_deps --check
|
|
|
|
|
%{__nodejs} -e 'require("./")'
|
|
|
|
|
%if 0%{?enable_tests}
|
|
|
|
|
# Prevent timeout error on an ARM builder which is slower than the x86 builder.
|
|
|
|
|
sed -i '/timeout/ s/5000/10000/' test/mocha/cli.js
|
|
|
|
|
sed -i '/timeout/ s/10000/20000/' test/mocha/let.js
|
|
|
|
|
sed -i '/timeout/ s/20000/40000/' test/mocha/spidermonkey.js
|
|
|
|
|
%__nodejs test/run-tests.js
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
@ -141,6 +145,9 @@ end
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Mon Aug 01 2016 Jun Aruga <jaruga@redhat.com> - 2.7.0-2
|
|
|
|
|
- Update to prevent timeout error on an ARM builder. (rhbz#1361179)
|
|
|
|
|
|
|
|
|
|
* Thu Jul 28 2016 Jared Smith <jsmith@fedoraproject.org> - 2.7.0-1
|
|
|
|
|
- Update to upstream 2.7.0 release
|
|
|
|
|
|
|
|
|
|