rpms/readahead/devel readahead-1.4.5-usr.patch, 1.1, 1.2 readahead.spec, 1.48, 1.49

Harald Hoyer harald at fedoraproject.org
Sat Sep 6 10:24:46 UTC 2008


Author: harald

Update of /cvs/pkgs/rpms/readahead/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv26227

Modified Files:
	readahead-1.4.5-usr.patch readahead.spec 
Log Message:
* Sat Sep 06 2008 Harald Hoyer <harald at redhat.com> 1.4.5-3
- marked /etc/sysconfig/readahead as a config file
- removed noreplace from /etc/readahead.conf
- fixed /etc/readahead.conf for /sbin/readahead


readahead-1.4.5-usr.patch:

Index: readahead-1.4.5-usr.patch
===================================================================
RCS file: /cvs/pkgs/rpms/readahead/devel/readahead-1.4.5-usr.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- readahead-1.4.5-usr.patch	1 Sep 2008 14:41:20 -0000	1.1
+++ readahead-1.4.5-usr.patch	6 Sep 2008 10:24:45 -0000	1.2
@@ -1,6 +1,16 @@
+diff -up readahead-1.4.5/scripts/readahead-collector.event.usr readahead-1.4.5/scripts/readahead-collector.event
+--- readahead-1.4.5/scripts/readahead-collector.event.usr	2008-08-14 08:04:21.000000000 +0200
++++ readahead-1.4.5/scripts/readahead-collector.event	2008-09-06 11:14:50.000000000 +0200
+@@ -41,5 +41,5 @@ post-stop script
+ 	done
+ 	# process lists
+ 	/etc/cron.daily/readahead.cron
+-	:
++	exit 0
+ end script
 diff -up readahead-1.4.5/scripts/readahead.cron.usr readahead-1.4.5/scripts/readahead.cron
 --- readahead-1.4.5/scripts/readahead.cron.usr	2008-08-14 08:04:26.000000000 +0200
-+++ readahead-1.4.5/scripts/readahead.cron	2008-09-01 16:35:52.000000000 +0200
++++ readahead-1.4.5/scripts/readahead.cron	2008-09-06 11:14:50.000000000 +0200
 @@ -11,7 +11,7 @@ renice +19 -p $$ >/dev/null 2>&1
  ionice -c3 -p $$ >/dev/null 2>&1
  
@@ -10,9 +20,18 @@
  READAHEAD_BASE="/etc/readahead.d"
  
  for LTYPE in $TYPES; do
+diff -up readahead-1.4.5/scripts/readahead-disable-services.event.usr readahead-1.4.5/scripts/readahead-disable-services.event
+--- readahead-1.4.5/scripts/readahead-disable-services.event.usr	2008-08-14 08:04:21.000000000 +0200
++++ readahead-1.4.5/scripts/readahead-disable-services.event	2008-09-06 11:14:50.000000000 +0200
+@@ -17,4 +17,5 @@ script
+ 			touch /var/lock/subsys/delay-$runlevel-$service
+ 		fi
+ 	done
++	exit 0
+ end script
 diff -up readahead-1.4.5/scripts/readahead.event.usr readahead-1.4.5/scripts/readahead.event
 --- readahead-1.4.5/scripts/readahead.event.usr	2008-08-14 08:04:21.000000000 +0200
-+++ readahead-1.4.5/scripts/readahead.event	2008-09-01 16:39:22.000000000 +0200
++++ readahead-1.4.5/scripts/readahead.event	2008-09-06 11:14:50.000000000 +0200
 @@ -11,7 +11,16 @@ console output
  script
  	. /etc/sysconfig/readahead
@@ -31,3 +50,15 @@
  end script
  
  
+diff -up readahead-1.4.5/src/readahead.conf.usr readahead-1.4.5/src/readahead.conf
+--- readahead-1.4.5/src/readahead.conf.usr	2008-08-14 08:04:21.000000000 +0200
++++ readahead-1.4.5/src/readahead.conf	2008-09-06 11:14:50.000000000 +0200
+@@ -18,7 +18,7 @@ RAC_INITPATH="/sbin/init"
+ RAC_LISTSPATH="/etc/readahead.d/custom.%s"
+ 
+ # Ignore syscalls from:
+-RAC_EXECIGN="/usr/sbin/readahead"
++RAC_EXECIGN="/sbin/readahead"
+ 
+ # Exclude dirs
+ RAC_EXCLUDE="/proc /sys /dev /var/log /var/run /var/lock /home /tmp /var/tmp /media"


Index: readahead.spec
===================================================================
RCS file: /cvs/pkgs/rpms/readahead/devel/readahead.spec,v
retrieving revision 1.48
retrieving revision 1.49
diff -u -r1.48 -r1.49
--- readahead.spec	3 Sep 2008 14:25:49 -0000	1.48
+++ readahead.spec	6 Sep 2008 10:24:45 -0000	1.49
@@ -1,7 +1,7 @@
 Summary:        Read a preset list of files into memory
 Name:           readahead
 Version:        1.4.5
-Release:        2%{?dist}
+Release:        3%{?dist}
 Epoch:          1
 Group:          System Environment/Base
 License:        GPLv2+
@@ -68,16 +68,21 @@
 %doc COPYING README lists/README.lists
 %{_sysconfdir}/cron.daily/readahead.cron
 %{_sysconfdir}/cron.monthly/readahead-monthly.cron
-%config(noreplace) %{_sysconfdir}/readahead.conf
+%config %{_sysconfdir}/readahead.conf
 %dir %{_sysconfdir}/readahead.d
 %{_sysconfdir}/event.d/readahead-collector.event
 %{_sysconfdir}/event.d/readahead-disable-services.event
 %{_sysconfdir}/event.d/readahead.event
-%{_sysconfdir}/sysconfig/readahead
+%config(noreplace) %{_sysconfdir}/sysconfig/readahead
 /sbin/readahead
 /sbin/readahead-collector
 
 %changelog
+* Sat Sep 06 2008 Harald Hoyer <harald at redhat.com> 1.4.5-3
+- marked /etc/sysconfig/readahead as a config file
+- removed noreplace from /etc/readahead.conf
+- fixed /etc/readahead.conf for /sbin/readahead
+
 * Wed Sep 03 2008 Harald Hoyer <harald at redhat.com> 1.4.5-2
 - fixed compiling agaings audit-libs-devel-1.4.5
 




More information about the fedora-extras-commits mailing list