rpms/gallery2/F-10 gallery2.spec,1.23,1.24

Jon Ciesla limb at fedoraproject.org
Mon May 18 14:06:53 UTC 2009


Author: limb

Update of /cvs/pkgs/rpms/gallery2/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv3492

Modified Files:
	gallery2.spec 
Log Message:
script fixes.



Index: gallery2.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gallery2/F-10/gallery2.spec,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -p -r1.23 -r1.24
--- gallery2.spec	11 May 2009 14:28:11 -0000	1.23
+++ gallery2.spec	18 May 2009 14:06:22 -0000	1.24
@@ -7,7 +7,7 @@ URL: http://gallery.menalto.com
 Name: gallery2
 Version: 2.3
 Group: Applications/Publishing
-Release: 9%{?dist}
+Release: 10%{?dist}
 License: GPLv2+
 #Source0: http://dl.sf.net/gallery/gallery-%{version}-full.zip
 # Tarball from upstream contains prebuilt jars, some of which are not redistributable.
@@ -751,9 +751,14 @@ echo and follow the instructions there t
 
 if [ -d %{installprefix}/gallery2/lib/smarty -a ! -L %{installprefix}/gallery2/lib/smarty ]; then
     mv %{installprefix}/gallery2/lib/smarty %{installprefix}/gallery2/lib/smarty.rpmbak && \
-    ln -s ../../php/Smarty %{installprefix}/gallery2/lib/smarty && \ 
+    ln -s ../../php/Smarty %{installprefix}/gallery2/lib/smarty && \
     rm -rf %{installprefix}/gallery2/lib/smarty.rpmbak
 fi 
+if [ ! -L %{installprefix}/gallery2/lib/smarty ]; then
+  ln -s ../../php/Smarty %{installprefix}/gallery2/lib/smarty
+fi
+
+
 
 
 %files
@@ -1098,6 +1103,9 @@ fi 
 %{installprefix}/gallery2/themes/tile/
 
 %changelog
+* Thu May 14 2009 Jon Ciesla <limb at jcomserv.net> - 2.3-10
+- Fine-tuning of symlink script.
+
 * Fri May 01 2009 Jon Ciesla <limb at jcomserv.net> - 2.3-9
 - Add rewrite dep for httpauth, BZ 498061.
 - Adopt rdieter's symlink handling suggestions from rel-eng #1674.




More information about the scm-commits mailing list