rpms/gallery2/devel README.fedora.Gallery2, 1.5, 1.6 gallery2.spec, 1.15, 1.16

John Berninger (jwb) fedora-extras-commits at redhat.com
Tue Apr 22 22:57:54 UTC 2008


Author: jwb

Update of /cvs/pkgs/rpms/gallery2/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv28849

Modified Files:
	README.fedora.Gallery2 gallery2.spec 
Log Message:
don't own dirs in /srv - bz 443703


Index: README.fedora.Gallery2
===================================================================
RCS file: /cvs/pkgs/rpms/gallery2/devel/README.fedora.Gallery2,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- README.fedora.Gallery2	15 May 2007 20:05:21 -0000	1.5
+++ README.fedora.Gallery2	22 Apr 2008 22:57:12 -0000	1.6
@@ -53,7 +53,9 @@
 Step 4 (Storage setup): The default selection for the image storage directory
 in this package is /srv/gallery2.  You must chose a directory that the web
 server can write to - if you have a read-only /usr directory tree, the
-storage directory must be outside that tree.
+storage directory must be outside that tree.  If you use the default seletion, 
+you must create this directory yourself and ensure that it is writable by the
+user that your web server runs as (usually 'apache').
 
 Step 7 (Create config file): This step will tell you that the config file,
 config.php, has been written to the gallery2 directory.  It was actually


Index: gallery2.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gallery2/devel/gallery2.spec,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- gallery2.spec	20 Mar 2008 18:16:07 -0000	1.15
+++ gallery2.spec	22 Apr 2008 22:57:12 -0000	1.16
@@ -7,7 +7,7 @@
 Name: gallery2
 Version: 2.2.4
 Group: Applications/Publishing
-Release: 3%{?dist}
+Release: 4%{?dist}
 License: GPLv2+
 # Source0: http://dl.sf.net/gallery/gallery-%{version}-developer.tar.gz
 # Tarball from upstream will not work - must use SVN snapshot
@@ -684,7 +684,6 @@
 chmod 755 ${RPM_BUILD_ROOT}%{installprefix}/gallery2/lib/tools/po/update-all-translations.pl
 chmod 755 ${RPM_BUILD_ROOT}%{installprefix}/gallery2/lib/tools/bin/getIllegalFunctions.pl
 chmod 755 ${RPM_BUILD_ROOT}%{installprefix}/gallery2/lib/tools/uml/make-java-classes.pl
-mkdir -p ${RPM_BUILD_ROOT}%{g2datadir}
 mkdir -p ${RPM_BUILD_ROOT}%{g2confdir}
 # Touch a login.txt in /srv/gallery2/ and ghost it so we don't
 # run afoul of a ro /usr
@@ -732,7 +731,6 @@
 %dir %{installprefix}/gallery2/modules
 %{installprefix}/gallery2/modules/core/
 %dir %{installprefix}/gallery2/themes
-%attr(-,apache,root) %dir %{g2datadir}
 %{installprefix}/gallery2/upgrade/
 %doc %{installprefix}/gallery2/LICENSE
 %doc %{installprefix}/gallery2/MANIFEST
@@ -1049,6 +1047,9 @@
 %{installprefix}/gallery2/themes/tile/
 
 %changelog
+* Tue Apr 22 2008 John Berninger <john at ncphotography dot com> - 2.2.4-4
+- don't create or own any dirs in /srv
+
 * Thu Mar 20 2008 John Berninger <john at ncphotography dot com> - 2.2.4-3
 - revert to SVN snapshot so that config-time integrity checks don't fail
 - remove embedded copy of smarty and use php-Smarty package




More information about the fedora-extras-commits mailing list