rpms/readahead/devel .cvsignore, 1.6, 1.7 readahead.spec, 1.45, 1.46 sources, 1.9, 1.10 readahead-open-files-with-O_NOATIME.patch, 1.1, NONE

Harald Hoyer harald at fedoraproject.org
Thu Aug 28 10:03:37 UTC 2008


Author: harald

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

Modified Files:
	.cvsignore readahead.spec sources 
Removed Files:
	readahead-open-files-with-O_NOATIME.patch 
Log Message:
* Thu Aug 28 2008 Harald Hoyer <harald at redhat.com> 1.4.5-1
- new adaptive readahead version



Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/readahead/devel/.cvsignore,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- .cvsignore	24 Jun 2008 13:31:20 -0000	1.6
+++ .cvsignore	28 Aug 2008 10:03:07 -0000	1.7
@@ -1,3 +1,5 @@
 readahead-1.4.4.tar.bz2
 default.early
 default.later
+readahead-1.4.5-20080815.tar.bz2
+readahead-1.4.5.tar.bz2


Index: readahead.spec
===================================================================
RCS file: /cvs/pkgs/rpms/readahead/devel/readahead.spec,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -r1.45 -r1.46
--- readahead.spec	22 Jul 2008 08:08:03 -0000	1.45
+++ readahead.spec	28 Aug 2008 10:03:07 -0000	1.46
@@ -1,25 +1,23 @@
 Summary:        Read a preset list of files into memory
 Name:           readahead
-Version:        1.4.4
-Release:        2%{?dist}
+Version:        1.4.5
+Release:        1%{?dist}
 Epoch:          1
 Group:          System Environment/Base
 License:        GPLv2+
 Source0:        readahead-%{version}.tar.bz2
 Source1:        default.early
 Source2:        default.later
+
 URL:            https://hosted.fedoraproject.org/projects/readahead
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 Requires(post): /sbin/chkconfig, /sbin/service
 Requires(preun):  /sbin/chkconfig, /sbin/service
-Requires:       procps /bin/gawk
+Requires:       procps /bin/gawk upstart /usr/bin/ionice
 BuildRequires:  e2fsprogs-devel
 BuildRequires:  audit-libs-devel
 
-# 456027 - readahead should use O_NOATIME while opening the files
-Patch0: readahead-open-files-with-O_NOATIME.patch
-
 %description
 readahead reads the contents of a list of files into memory,
 which causes them to be read from cache when they are actually
@@ -30,47 +28,52 @@
 cp -f -t ./lists/ %{SOURCE1}
 cp -f -t ./lists/ %{SOURCE2}
 
-%patch0 -p1
-
 %build
 %configure --sbindir=/sbin
 make %{?_smp_mflags}
-make rpm-lists-rebuild RPM_LIB="%{_lib}" RPM_ARCH="%{_arch}" FILES="default.early default.later"
 
 %install
 rm -rf $RPM_BUILD_ROOT
 make install DESTDIR=${RPM_BUILD_ROOT}
 %find_lang %{name}
 
+# remove default lists
+rm -f ${RPM_BUILD_ROOT}%{_sysconfdir}/readahead.d/default.*
+
 %clean
 rm -rf ${RPM_BUILD_ROOT}
 
 %preun
 if [ "$1" = "0" ] ; then
+ # for updating older packages with service files
  /sbin/service readahead_later stop >/dev/null 2>&1
- /sbin/chkconfig --del readahead_later
+ /sbin/chkconfig --del readahead_later  >/dev/null 2>&1
  /sbin/service readahead_early stop >/dev/null 2>&1
- /sbin/chkconfig --del readahead_early
+ /sbin/chkconfig --del readahead_early  >/dev/null 2>&1
+ :
 fi
 
 %post
-/sbin/chkconfig --add readahead_later
-/sbin/chkconfig --add readahead_early
+%{_sysconfdir}/cron.monthly/readahead-monthly.cron
 
 %files -f %{name}.lang
 %defattr(-,root,root,- )
 %doc COPYING README lists/README.lists
 %{_sysconfdir}/cron.daily/readahead.cron
-%{_sysconfdir}/rc.d/init.d/readahead_later
-%{_sysconfdir}/rc.d/init.d/readahead_early
+%{_sysconfdir}/cron.monthly/readahead-monthly.cron
 %config(noreplace) %{_sysconfdir}/readahead.conf
 %dir %{_sysconfdir}/readahead.d
-%{_sysconfdir}/readahead.d/default.early
-%{_sysconfdir}/readahead.d/default.later
+%{_sysconfdir}/event.d/readahead-collector.event
+%{_sysconfdir}/event.d/readahead-disable-services.event
+%{_sysconfdir}/event.d/readahead.event
+%{_sysconfdir}/sysconfig/readahead
 %{_sbindir}/readahead
 /sbin/readahead-collector
 
 %changelog
+* Thu Aug 28 2008 Harald Hoyer <harald at redhat.com> 1.4.5-1
+- new adaptive readahead version
+
 * Tue Jul 22 2008 Karel Zak <kzak at redhat.com> 1:1.4.4-2
 - fix #456027 - readahead should use O_NOATIME while opening the files
 


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/readahead/devel/sources,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- sources	24 Jun 2008 13:31:20 -0000	1.9
+++ sources	28 Aug 2008 10:03:07 -0000	1.10
@@ -1,3 +1,3 @@
-5490552c5a4c382fe56fc5ffea1dee4f  readahead-1.4.4.tar.bz2
 c49d5a223ff93931aee751cbe491e533  default.early
 2407fd6d06720de9e6b12ab41a9e96e4  default.later
+72dc975951dcab92a9e7b6611cd1c154  readahead-1.4.5.tar.bz2


--- readahead-open-files-with-O_NOATIME.patch DELETED ---




More information about the fedora-extras-commits mailing list