[uglify-js1] Add logic for building on EL6

Jamie Nguyen jamielinux at fedoraproject.org
Sun Jun 29 17:18:15 UTC 2014


commit e65e7b564a18c271bf0e958ce7fd536da7b99968
Author: Jamie Nguyen <j at jamielinux.com>
Date:   Sun Jun 29 18:13:57 2014 +0100

    Add logic for building on EL6

 uglify-js1.spec |   12 ++++++++++--
 1 files changed, 10 insertions(+), 2 deletions(-)
---
diff --git a/uglify-js1.spec b/uglify-js1.spec
index c8441dd..c12c2a9 100644
--- a/uglify-js1.spec
+++ b/uglify-js1.spec
@@ -5,7 +5,7 @@
 
 Name:           uglify-js1
 Version:        1.3.4
-Release:        8%{?dist}
+Release:        9%{?dist}
 Summary:        JavaScript parser, mangler/compressor and beautifier toolkit
 BuildArch:      noarch
 
@@ -15,8 +15,13 @@ License:        BSD
 URL:            https://github.com/mishoo/UglifyJS
 Source0:        http://registry.npmjs.org/uglify-js/-/uglify-js-%{version}.tgz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
 BuildArch:      noarch
-ExclusiveArch:  %{nodejs_arches} noarch
+%if 0%{?fedora} >= 19
+ExclusiveArch: %{nodejs_arches} noarch
+%else
+ExclusiveArch: %{ix86} x86_64 %{arm} noarch
+%endif
 
 BuildRequires:  nodejs-packaging
 BuildRequires:  web-assets-devel
@@ -123,6 +128,9 @@ end
 %doc README.html README.org docstyle.css
 
 %changelog
+* Sun Jun 29 2014 Jamie Nguyen <jamielinux at fedoraproject.org> - 1.3.4-9
+- add logic for building on EL6
+
 * Sun Jun 08 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.3.4-8
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
 


More information about the scm-commits mailing list