[uglify-js] Pretrans script should run in js-uglify subpackage (#1082946)

Jamie Nguyen jamielinux at fedoraproject.org
Tue Apr 1 19:37:34 UTC 2014


commit d31a107a36e60048652246fdd1758a3dc1363d27
Author: Jamie Nguyen <j at jamielinux.com>
Date:   Tue Apr 1 20:37:28 2014 +0100

    Pretrans script should run in js-uglify subpackage (#1082946)

 uglify-js.spec |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/uglify-js.spec b/uglify-js.spec
index 7fc5a3d..fd8800e 100644
--- a/uglify-js.spec
+++ b/uglify-js.spec
@@ -11,7 +11,7 @@
 
 Name:           uglify-js
 Version:        2.4.13
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        JavaScript parser, mangler/compressor and beautifier toolkit
 BuildArch:      noarch
 
@@ -102,7 +102,7 @@ ln -sf uglify-js at 2 %{buildroot}%{nodejs_sitelib}/uglify-js
 %clean
 rm -rf %buildroot
 
-%pretrans -p <lua>
+%pretrans -n js-uglify -p <lua>
 st = posix.stat("%{nodejs_sitelib}/uglify-js")
 if st and st.type == "directory" then
   os.execute("rm -rf %{nodejs_sitelib}/uglify-js")
@@ -128,6 +128,9 @@ end
 
 
 %changelog
+* Tue Apr 01 2014 Jamie Nguyen <jamielinux at fedoraproject.org> - 2.4.13-3
+- pretrans script should run in js-uglify subpackage (#1082946)
+
 * Sat Mar 15 2014 Jamie Nguyen <jamielinux at fedoraproject.org> - 2.4.13-2
 - add logic for building on EPEL 6 as web-assets-{devel,filesystem} are not
   yet available


More information about the scm-commits mailing list