rpms/fetch-crl/devel fetch-crl-2.8.4-mktemp.patch, NONE, 1.1 fetch-crl.spec, 1.6, 1.7

stevetraylen stevetraylen at fedoraproject.org
Tue Apr 20 19:01:38 UTC 2010


Author: stevetraylen

Update of /cvs/pkgs/rpms/fetch-crl/devel
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv31221/devel

Modified Files:
	fetch-crl.spec 
Added Files:
	fetch-crl-2.8.4-mktemp.patch 
Log Message:
rhbz#581022


fetch-crl-2.8.4-mktemp.patch:
 edg-fetch-crl |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- NEW FILE fetch-crl-2.8.4-mktemp.patch ---
diff -urN fetch-crl-2.8.4-dist/edg-fetch-crl fetch-crl-2.8.4/edg-fetch-crl
--- fetch-crl-2.8.4-dist/edg-fetch-crl	2010-04-05 13:10:16.000000000 -0400
+++ fetch-crl-2.8.4/edg-fetch-crl	2010-04-20 11:19:15.000000000 -0400
@@ -898,7 +898,7 @@
 
         # install downloaded CRL file in target directory
         if [ -f "${outputDirectory}/${finalCrlFileName}" ]; then
-          savefile=`${mktemp} -q ${outputDirectory}/${finalCrlFileName}.XXXXXX.r0`
+          savefile=`${mktemp} -q ${outputDirectory}/${finalCrlFileName}.XXXXXX`
           ${cp} -p "${outputDirectory}/${finalCrlFileName}" "${savefile}"
           ValidateCRLHashFile "${savefile}" contentonly
           if [ x"${crlHashFileIsValid}" != x"yes" ]; then


Index: fetch-crl.spec
===================================================================
RCS file: /cvs/pkgs/rpms/fetch-crl/devel/fetch-crl.spec,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -p -r1.6 -r1.7
--- fetch-crl.spec	5 Apr 2010 18:38:01 -0000	1.6
+++ fetch-crl.spec	20 Apr 2010 19:01:37 -0000	1.7
@@ -4,7 +4,7 @@
 
 Name: fetch-crl
 Version: 2.8.4
-Release: 1%{?dist}
+Release: 2%{?dist}
 Summary: Downloads Certificate Revocation Lists
 
 Group: Applications/System
@@ -12,6 +12,11 @@ License: EU Datagrid
 URL: https://dist.eugridpma.info/distribution/util/%{name}
 Source: https://dist.eugridpma.info/distribution/util/%{name}/%{name}-%{version}.tar.gz
 
+#Ensure temporary files are removed.
+#https://bugzilla.redhat.com/show_bug.cgi?id=581022
+Patch0: fetch-crl-2.8.4-mktemp.patch
+
+
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch: noarch
 
@@ -29,6 +34,7 @@ It assumes that the installed CA files f
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 
@@ -78,6 +84,9 @@ fi
 
 
 %changelog
+* Tue Apr 20 2010 Steve Traylen <steve.traylen at cern.ch> - 2.8.4-2
+- Add fetch-crl-2.8.4-mktemp.patch. rhbz#407851, Jason Smith @ BNL.
+
 * Sun Apr 5 2010 Steve Traylen <steve.traylen at cern.ch> - 2.8.4-1
 - New upstream 2.8.4.
   Remove patch fetch-crl-syntax-randomwait



More information about the scm-commits mailing list