rpms/cvs/FC-3 cvs-1.11.19-tmp.patch,NONE,1.1 cvs.spec,1.25,1.26

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Tue Aug 23 09:04:24 UTC 2005


Author: stransky

Update of /cvs/dist/rpms/cvs/FC-3
In directory cvs.devel.redhat.com:/tmp/cvs-serv30130

Modified Files:
	cvs.spec 
Added Files:
	cvs-1.11.19-tmp.patch 
Log Message:
fix for #166366 - CVS temporary file issue

cvs-1.11.19-tmp.patch:
 cvsbug.in |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

--- NEW FILE cvs-1.11.19-tmp.patch ---
--- cvs-1.11.19/src/cvsbug.in.old	2004-02-03 15:37:52.000000000 +0100
+++ cvs-1.11.19/src/cvsbug.in	2005-08-22 16:35:06.000000000 +0200
@@ -109,14 +109,14 @@
     /usr/bin/ypcat passwd 2>/dev/null | cat - /etc/passwd | grep "^$LOGNAME:" |
       cut -f5 -d':' | sed -e 's/,.*//' > $TEMP
     ORIGINATOR="`cat $TEMP`"
-    rm -f $TEMP
+    > $TEMP
   fi
 fi
 
 if [ "$ORIGINATOR" = "" ]; then
   grep "^$LOGNAME:" /etc/passwd | cut -f5 -d':' | sed -e 's/,.*//' > $TEMP
   ORIGINATOR="`cat $TEMP`"
-  rm -f $TEMP
+  > $TEMP
 fi
 
 if [ -n "$ORGANIZATION" ]; then


Index: cvs.spec
===================================================================
RCS file: /cvs/dist/rpms/cvs/FC-3/cvs.spec,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -r1.25 -r1.26
--- cvs.spec	18 Apr 2005 13:42:14 -0000	1.25
+++ cvs.spec	23 Aug 2005 09:04:20 -0000	1.26
@@ -1,7 +1,7 @@
 Summary: A version control system.
 Name: cvs
 Version: 1.11.17
-Release: 6.FC3
+Release: 7.FC3
 License: GPL
 Group: Development/Tools
 Source0: https://ccvs.cvshome.org/files/documents/19/192/cvs-%{version}.tar.bz2
@@ -15,6 +15,7 @@
 Patch5: cvs-1.11.17-extzlib2.patch
 Patch6: cvs-1.11.17-sccs2rcs.patch
 Patch7: cvs-1.11.17-CAN-2005-0753.patch
+Patch8: cvs-1.11.19-tmp.patch
 Prereq: /sbin/install-info
 Prefix: %{_prefix}
 Buildroot: %{_tmppath}/%{name}-root
@@ -48,6 +49,7 @@
 %patch5 -p1 -b .extzlib2
 %patch6 -p1 -b .perl
 %patch7 -p1 -b .sec
+%patch8 -p1 -b .tmp
 
 %build
 %{!?nokerberos:k5prefix=`krb5-config --prefix`}
@@ -94,6 +96,9 @@
 %{_datadir}/%{name}
 
 %changelog
+* Tue Aug 23 2005 Martin Stransky <stransky at redhat.com> 1.11.17-7.FC3
+- fix for #166366 - CVS temporary file issue
+
 * Mon Apr 18 2005 Martin Stransky <stransky at redhat.com> 1.11.17-6.FC3
 - add security fix CAN-2005-0753 (Derek Price)
 




More information about the fedora-cvs-commits mailing list