From b8a6202fdc9df0eaf1e60ef43e8e89debac40e27 Mon Sep 17 00:00:00 2001 From: Jun Aruga Date: Aug 01 2016 09:12:18 +0000 Subject: Update to prevent timeout error on an ARM builder. (rhbz#1361179) --- diff --git a/uglify-js.spec b/uglify-js.spec index 7709140..3940c90 100644 --- a/uglify-js.spec +++ b/uglify-js.spec @@ -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 - 2.7.0-2 +- Update to prevent timeout error on an ARM builder. (rhbz#1361179) + * Thu Jul 28 2016 Jared Smith - 2.7.0-1 - Update to upstream 2.7.0 release