rpms/f-spot/devel f-spot-0.1.5-security-fix.patch, NONE, 1.1 f-spot.spec, 1.9, 1.10

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Tue Jan 31 19:30:44 UTC 2006


Author: rstrode

Update of /cvs/dist/rpms/f-spot/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv5809

Modified Files:
	f-spot.spec 
Added Files:
	f-spot-0.1.5-security-fix.patch 
Log Message:
- don't blindly run f-spot from current working directory
  (bug 177407)


f-spot-0.1.5-security-fix.patch:
 f-spot.in |    9 +--------
 1 files changed, 1 insertion(+), 8 deletions(-)

--- NEW FILE f-spot-0.1.5-security-fix.patch ---
--- f-spot-0.1.5/src/f-spot.in.security-fix	2006-01-31 14:27:14.000000000 -0500
+++ f-spot-0.1.5/src/f-spot.in	2006-01-31 14:27:56.000000000 -0500
@@ -4,12 +4,5 @@
 exec_prefix=@exec_prefix@
 libdir=@libdir@
 
-if [ -e ./f-spot.exe ] && [ -e ./Makefile ] && [ -e ./Defines.cs ]; then
-    echo "*** Running uninstalled f-spot ***"
-    EXE_TO_RUN="./f-spot.exe"
-    export MONO_PATH=../libgphoto2-sharp:../semweb:$MONO_PATH
-else
-    EXE_TO_RUN="$libdir/f-spot/f-spot.exe"
-fi
-
+EXE_TO_RUN="$libdir/f-spot/f-spot.exe"
 mono --debug $EXE_TO_RUN "$@"


Index: f-spot.spec
===================================================================
RCS file: /cvs/dist/rpms/f-spot/devel/f-spot.spec,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- f-spot.spec	10 Jan 2006 15:12:40 -0000	1.9
+++ f-spot.spec	31 Jan 2006 19:30:39 -0000	1.10
@@ -1,6 +1,6 @@
 Name:           f-spot
 Version:        0.1.5
-Release:        2
+Release:        3
 Summary:        Photo management application
 
 Group:          Applications/Multimedia
@@ -23,6 +23,8 @@
 # No libgphoto etc on s390
 ExcludeArch: s390
 
+Patch0: f-spot-0.1.5-security-fix.patch
+
 %description
 F-Spot is an application designed to provide personal photo management
 to the GNOME desktop. Features include import, export, printing and advanced
@@ -30,6 +32,7 @@
 
 %prep
 %setup -q
+%patch0 -p1 -b .security-fix
 
 %build
 export MONO_SHARED_DIR=%{_builddir}/%{?buildsubdir}
@@ -62,6 +65,10 @@
 %{_prefix}/bin/f-spot
 
 %changelog
+* Tue Jan 31 2006 Ray Strode <rstrode at redhat.com> - 0.1.5-3
+- don't blindly run f-spot from current working directory
+  (bug 177407)
+
 * Tue Jan 10 2006 Alexander Larsson <alexl at redhat.com> - 0.1.5-2
 - Add lcms depencency
 




More information about the fedora-cvs-commits mailing list