|
|
|
@ -1,7 +1,7 @@
|
|
|
|
|
%{?nodejs_find_provides_and_requires}
|
|
|
|
|
|
|
|
|
|
#enable/disable tests in case the deps aren't there
|
|
|
|
|
%bcond_without tests
|
|
|
|
|
%bcond_with tests
|
|
|
|
|
|
|
|
|
|
Name: uglify-js
|
|
|
|
|
Version: 2.8.22
|
|
|
|
@ -19,6 +19,7 @@ Provides: nodejs-uglify-js = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
BuildRequires: nodejs-packaging
|
|
|
|
|
BuildRequires: web-assets-devel
|
|
|
|
|
BuildRequires: npm(source-map)
|
|
|
|
|
|
|
|
|
|
%if %{with tests}
|
|
|
|
|
BuildRequires: npm(acorn)
|
|
|
|
@ -57,7 +58,7 @@ runtime.
|
|
|
|
|
|
|
|
|
|
%nodejs_fixdep async "^1.5.0"
|
|
|
|
|
%nodejs_fixdep yargs "^3.2.1"
|
|
|
|
|
|
|
|
|
|
%nodejs_fixdep source-map ">=0.5.1"
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
#nothing to do
|
|
|
|
|