rpms/cvs/devel cvs-1.11.19-tmp.patch,NONE,1.1 cvs.spec,1.34,1.35

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Tue Aug 23 08:33:52 UTC 2005


Author: stransky

Update of /cvs/dist/rpms/cvs/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv15616

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/devel/cvs.spec,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -r1.34 -r1.35
--- cvs.spec	21 Jul 2005 11:03:01 -0000	1.34
+++ cvs.spec	23 Aug 2005 08:33:48 -0000	1.35
@@ -1,7 +1,7 @@
 Summary: A version control system.
 Name: cvs
 Version: 1.11.19
-Release: 9
+Release: 10
 License: GPL
 Group: Development/Tools
 Source0: https://ccvs.cvshome.org/files/documents/19/192/cvs-%{version}.tar.bz2
@@ -19,6 +19,7 @@
 Patch8: cvs-1.11.19-tagname.patch
 Patch9: cvs-1.11.19-comp.patch
 Patch10: cvs-1.11.17-CAN-2005-0753.patch
+Patch11: cvs-1.11.19-tmp.patch
 Prereq: /sbin/install-info
 Requires: vim-minimal
 Prefix: %{_prefix}
@@ -54,6 +55,7 @@
 %patch8 -p1
 %patch9 -p1
 %patch10 -p1 -b .sec
+%patch11 -p1 -b .tmp
 # Apply a patch to the generated files, OR
 # run autoreconf and require autoconf >= 2.58, automake >= 1.7.9
 #%patch5 -p1 -b .extzlib2
@@ -110,6 +112,9 @@
 %dir %{_localstatedir}/%{name}
 
 %changelog
+* Thu Aug 23 2005 Martin Stransky <stransky at redhat.com> 1.11.19-10
+- fix for #166366 - CVS temporary file issue
+
 * Thu Jul 21 2005 Martin Stransky <stransky at redhat.com> 1.11.19-9
 - add vim-minimal to Requires (#163030)
 




More information about the fedora-cvs-commits mailing list