commit 95ca6149762a5abf03d02890906b0b61382b9db5
Author: Elan Ruusamäe <[email protected]>
Date:   Thu Nov 29 19:32:11 2012 +0200

    properly namespace jQuery (in case if jQuery.noConflict active)

 jquery-ns.patch       | 9 +++++++++
 jquery-uploadify.spec | 8 +++++---
 2 files changed, 14 insertions(+), 3 deletions(-)
---
diff --git a/jquery-uploadify.spec b/jquery-uploadify.spec
index 2e49699..754db96 100644
--- a/jquery-uploadify.spec
+++ b/jquery-uploadify.spec
@@ -7,16 +7,17 @@
 Summary:       Flash Multiple File Upload jQuery Plugin Script
 Name:          jquery-%{plugin}
 Version:       3.1.1
-Release:       0.6
+Release:       0.7
 License:       MIT
 Group:         Applications/WWW
 Source0:       
http://www.uploadify.com/wp-content/uploads/files/uploadify-v%{basever}.zip
 # Source0-md5: 630e0445508c9614a8d37781068073cd
 Patch0:                css-path.patch
+Patch1:                jquery-ns.patch
 URL:           http://www.uploadify.com/
-BuildRequires: yuicompressor
 BuildRequires: rpmbuild(macros) >= 1.553
 BuildRequires: unzip
+BuildRequires: yuicompressor
 Requires:      jquery >= 1.6
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -28,8 +29,9 @@ jQuery Multiple File Upload Plugin - Uploadify.
 
 %prep
 %setup -qc
-%undos -f php,txt,css
+%undos -f php,txt,css,js
 %patch0 -p1
+%patch1 -p1
 
 mv "Change Log.txt" "ChangeLog.txt"
 
diff --git a/jquery-ns.patch b/jquery-ns.patch
new file mode 100644
index 0000000..f5f25d2
--- /dev/null
+++ b/jquery-ns.patch
@@ -0,0 +1,9 @@
+--- jquery-uploadify-3.1/jquery.uploadify-3.1.js~      2012-05-22 
02:07:00.000000000 +0300
++++ jquery-uploadify-3.1/jquery.uploadify-3.1.js       2012-11-29 
19:30:53.404491175 +0200
+@@ -964,4 +964,4 @@
+ 
+       }
+ 
+-})($);
+\ No newline at end of file
++})(jQuery);
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/jquery-uploadify.git/commitdiff/95ca6149762a5abf03d02890906b0b61382b9db5

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to