rpms/clamav/FC-3 sources,1.7,1.8 clamav.spec,1.11,1.12

Enrico Scholz (ensc) fedora-extras-commits at redhat.com
Sat Jun 25 17:51:55 UTC 2005


Author: ensc

Update of /cvs/extras/rpms/clamav/FC-3
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv8117/FC-3

Modified Files:
	sources clamav.spec 
Log Message:
synced with devel/



Index: sources
===================================================================
RCS file: /cvs/extras/rpms/clamav/FC-3/sources,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- sources	21 Jun 2005 07:31:55 -0000	1.7
+++ sources	25 Jun 2005 17:51:53 -0000	1.8
@@ -1,2 +1,2 @@
-1c886e4f4f4c3e4e76250b7b52c000b4  clamav-0.86.tar.gz
-57948dbd3a9093265fe0ac4abd40c4c2  clamav-0.86.tar.gz.sig
+df7116898cdd80ce56721a91e9cff206  clamav-0.86.1.tar.gz
+dd5b89f732f84112207843748df5218c  clamav-0.86.1.tar.gz.sig


Index: clamav.spec
===================================================================
RCS file: /cvs/extras/rpms/clamav/FC-3/clamav.spec,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- clamav.spec	21 Jun 2005 07:31:55 -0000	1.11
+++ clamav.spec	25 Jun 2005 17:51:53 -0000	1.12
@@ -21,7 +21,7 @@
 
 Summary:	End-user tools for the Clam Antivirus scanner
 Name:		clamav
-Version:	0.86
+Version:	0.86.2
 Release:	%release_func 1
 
 License:	GPL
@@ -296,10 +296,10 @@
 }
 
 min=$[ RANDOM % 60 ]
-hour=$[ RANDOM % 24 ]
+hour=$[ RANDOM % 3 ]
 tmp=$(mktemp /tmp/freshclam-cron.XXXXXX)
 src=%_sysconfdir/cron.d/clamav-update
-%__sed -e "s!@MIN@!$min!g;s!@HOUR@!$hour!g" "$src" >$tmp
+%__sed -e "s!@MIN@!$min!g;s!@HOUR@!$hour-23!g" "$src" >$tmp
 cmp -s $tmp "$src" || cat "$tmp" >"$src"
 rm -f $tmp
 
@@ -414,6 +414,11 @@
 %endif	# _without_milter
 
 %changelog
+* Sat Jun 25 2005 Enrico Scholz <enrico.scholz at informatik.tu-chemnitz.de> - 0.86.1-2
+- updated to 0.86.1
+- fixed randomization in %%post scriptlet: hour should be a range but
+  not a single number
+
 * Tue Jun 21 2005 Enrico Scholz <enrico.scholz at informatik.tu-chemnitz.de> - 0.86-1
 - updated to 0.86
 - randomize freshclam startup times in -update's %%post script (suggested




More information about the fedora-extras-commits mailing list