Add logic for building on EL6

epel9
Jamie Nguyen 11 years ago
parent 05758715e1
commit 3dd99c6653

@ -11,7 +11,7 @@
Name: uglify-js Name: uglify-js
Version: 2.4.13 Version: 2.4.13
Release: 4%{?dist} Release: 5%{?dist}
Summary: JavaScript parser, mangler/compressor and beautifier toolkit Summary: JavaScript parser, mangler/compressor and beautifier toolkit
BuildArch: noarch BuildArch: noarch
@ -21,8 +21,13 @@ License: BSD
URL: https://github.com/mishoo/UglifyJS2 URL: https://github.com/mishoo/UglifyJS2
Source0: http://registry.npmjs.org/uglify-js/-/uglify-js-%{version}.tgz Source0: http://registry.npmjs.org/uglify-js/-/uglify-js-%{version}.tgz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch BuildArch: noarch
%if 0%{?fedora} >= 19
ExclusiveArch: %{nodejs_arches} noarch ExclusiveArch: %{nodejs_arches} noarch
%else
ExclusiveArch: %{ix86} x86_64 %{arm} noarch
%endif
Provides: nodejs-uglify-js = %{version}-%{release} Provides: nodejs-uglify-js = %{version}-%{release}
@ -129,6 +134,9 @@ end
%changelog %changelog
* Thu May 08 2014 Jamie Nguyen <jamielinux@fedoraproject.org> - 2.4.13-5
- add logic for building on EL6
* Tue Apr 29 2014 Jamie Nguyen <jamielinux@fedoraproject.org> - 2.4.13-4 * Tue Apr 29 2014 Jamie Nguyen <jamielinux@fedoraproject.org> - 2.4.13-4
- pretrans script should actually be split in two, so one half should run in - pretrans script should actually be split in two, so one half should run in
uglify-js and the other half should run in js-uglify (#1092184) uglify-js and the other half should run in js-uglify (#1092184)

Loading…
Cancel
Save