rpms/gallery2/devel gallery2.spec,1.18,1.19

Jon Ciesla limb at fedoraproject.org
Thu Dec 18 20:24:00 UTC 2008


Author: limb

Update of /cvs/pkgs/rpms/gallery2/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv3604

Modified Files:
	gallery2.spec 
Log Message:
BZ 457889.



Index: gallery2.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gallery2/devel/gallery2.spec,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- gallery2.spec	10 Dec 2008 20:37:34 -0000	1.18
+++ gallery2.spec	18 Dec 2008 20:23:30 -0000	1.19
@@ -7,7 +7,7 @@
 Name: gallery2
 Version: 2.3
 Group: Applications/Publishing
-Release: 1%{?dist}
+Release: 2%{?dist}
 License: GPLv2+
 Source0: http://dl.sf.net/gallery/gallery-%{version}-full.zip
 # Tarball from upstream will not work - must use SVN snapshot
@@ -702,9 +702,11 @@
 mkdir -p ${RPM_BUILD_ROOT}%{installprefix}/gallery2
 install -m 0644 -D -p %{SOURCE1} ${RPM_BUILD_ROOT}%{_sysconfdir}/httpd/conf.d/gallery2.conf
 install -m 0644 -p %{SOURCE2} ${RPM_BUILD_ROOT}%{installprefix}/gallery2/.htaccess
+#remove bundled Smarty.
+rm -rf lib/smarty
 cp -pr * ${RPM_BUILD_ROOT}%{installprefix}/gallery2
-# Remove lib/Smarty directory to try to use php-Smary package
-rm -rf ${RPM_BUILD_ROOT}%{installprefix}/gallery2/lib/Smarty
+#use system Smarty
+ln -s ../../php/Smarty ${RPM_BUILD_ROOT}%{installprefix}/gallery2/lib/smarty
 install -m 0644 -p %{SOURCE3} ${RPM_BUILD_ROOT}%{installprefix}/gallery2/README.fedora
 chmod 755 ${RPM_BUILD_ROOT}%{installprefix}/gallery2/lib/tools/po/premerge-messages.pl
 chmod 755 ${RPM_BUILD_ROOT}%{installprefix}/gallery2/lib/tools/po/update-all-translations.pl
@@ -1086,6 +1088,9 @@
 %{installprefix}/gallery2/themes/tile/
 
 %changelog
+* Thu Dec 18 2008 Jon Ciesla <limb at jcomserv.net> - 2.3-2
+- Correct removal of bundled Smarty and usage of system Smarty.
+
 * Thu Dec 04 2008 Jon Ciesla <limb at jcomserv.net> - 2.3-1
 - Update to new upstream.
 - Rebased on tarball now that perl path issue is fixed.




More information about the fedora-extras-commits mailing list