rpms/gallery2/F-11 gallery2.spec,1.26,1.27

Jon Ciesla limb at fedoraproject.org
Thu May 14 15:44:25 UTC 2009


Author: limb

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

Modified Files:
	gallery2.spec 
Log Message:
Script fine tuning.



Index: gallery2.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gallery2/F-11/gallery2.spec,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -p -r1.26 -r1.27
--- gallery2.spec	11 May 2009 14:25:07 -0000	1.26
+++ gallery2.spec	14 May 2009 15:43:54 -0000	1.27
@@ -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 fedora-extras-commits mailing list