[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

rpms/clamav/devel clamav.spec,1.20,1.21



Author: ensc

Update of /cvs/extras/rpms/clamav/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv7767

Modified Files:
	clamav.spec 
Log Message:
- updated to 0.86.1
- fixed randomization in %%post scriptlet: hour should be a range but
  not a single number



Index: clamav.spec
===================================================================
RCS file: /cvs/extras/rpms/clamav/devel/clamav.spec,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -r1.20 -r1.21
--- clamav.spec	21 Jun 2005 07:25:56 -0000	1.20
+++ clamav.spec	25 Jun 2005 17:25:50 -0000	1.21
@@ -21,7 +21,7 @@
 
 Summary:	End-user tools for the Clam Antivirus scanner
 Name:		clamav
-Version:	0.86
+Version:	0.86.1
 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 informatik tu-chemnitz de> - 0.86.1-1
+- 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 informatik tu-chemnitz de> - 0.86-1
 - updated to 0.86
 - randomize freshclam startup times in -update's %%post script (suggested


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]