[packages/jquery-lightbox] fix esc key for one image

glen glen at pld-linux.org
Wed Aug 8 19:21:25 CEST 2012


commit 2b93e322d3bf5292d78228fdff271723e7aafa23
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Wed Aug 8 20:20:50 2012 +0300

    fix esc key for one image
    
    Esc key does not work when only one image:
    https://github.com/krewenki/jquery-lightbox/issues/5

 jquery-lightbox.spec | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/jquery-lightbox.spec b/jquery-lightbox.spec
index 97d5293..54d72fc 100644
--- a/jquery-lightbox.spec
+++ b/jquery-lightbox.spec
@@ -2,11 +2,12 @@
 Summary:	jQuery lightbox plugin
 Name:		jquery-%{plugin}
 Version:	0.5
-Release:	2.5
+Release:	3
 License:	BSD
 Group:		Applications/WWW
 Source0:	https://github.com/krewenki/jquery-lightbox/tarball/master/%{name}.tgz
 # Source0-md5:	14b30ba99c15cf2bb52af3ae21398969
+Patch0:		https://github.com/glensc/jquery-lightbox/commit/6a59d113b14328982fdf4291e289c154ddacd64b.patch
 URL:		http://krewenki.github.com/jquery-lightbox/
 BuildRequires:	closure-compiler
 BuildRequires:	rpmbuild(macros) >= 1.268
@@ -33,6 +34,7 @@ Demonstrations and samples for jQuery.lightbox.
 %prep
 %setup -qc
 mv *-%{name}-*/* .
+%patch0 -p1
 
 %{__sed} -i -e 's,\.\./images/,images/,g' css/*.css
 


More information about the pld-cvs-commit mailing list