[readahead/f14/master] - New upstream release/systemd hookup

Harald Hoyer harald at fedoraproject.org
Mon Sep 13 10:25:42 UTC 2010


commit 78d8783fe5cab003d600a426132e1dcba27fa25b
Author: Harald Hoyer <harald at redhat.com>
Date:   Mon Sep 13 12:26:15 2010 +0200

    - New upstream release/systemd hookup

 readahead.spec |   23 ++++++++++++++++++++---
 sources        |    2 +-
 2 files changed, 21 insertions(+), 4 deletions(-)
---
diff --git a/readahead.spec b/readahead.spec
index 8862972..fc71843 100644
--- a/readahead.spec
+++ b/readahead.spec
@@ -1,6 +1,6 @@
 Summary:        Read a preset list of files into memory
 Name:           readahead
-Version:        1.5.6
+Version:        1.5.7
 Release:        1%{?dist}
 Epoch:          1
 Group:          System Environment/Base
@@ -53,8 +53,14 @@ fi
 
 %post
 %{_sysconfdir}/cron.monthly/readahead-monthly.cron
+if [ $1 -eq 1 ]; then
+        /bin/systemctl daemon-reload >/dev/null 2>&1 || :
+fi
 :
 
+%postun
+/bin/systemctl daemon-reload >/dev/null 2>&1 || :
+
 %files -f %{name}.lang
 %defattr(-,root,root,- )
 %doc COPYING README lists/README.lists NEWS
@@ -68,11 +74,23 @@ fi
 %config(noreplace) %{_sysconfdir}/readahead.conf
 /sbin/readahead
 /sbin/readahead-collector
+%dir /lib/readahead
+/lib/readahead/readahead-collect.sh
+/lib/readahead/readahead-replay.sh
+/lib/readahead/readahead-sort.sh
+/lib/systemd/system/readahead-collect.service
+/lib/systemd/system/readahead-replay.service
+/lib/systemd/system/readahead-sort.service
+/lib/systemd/system/default.target.wants/readahead-collect.service
+/lib/systemd/system/default.target.wants/readahead-replay.service
 
 %changelog
+* Mon Sep 13 2010 Lennart Poettering <lpoetter at redhat.com> - 1:1.5.7-1
+- New upstream release/systemd hookup
+
 * Wed Mar 24 2010 Harald Hoyer <harald at redhat.com> 1.5.6-1
 - version 1.5.6
-- various bugfixes by Raphael Geissert 
+- various bugfixes by Raphael Geissert
   (#527498, #527505, #527508, #527509, #528781, #528785)
 
 * Wed Mar 24 2010 Harald Hoyer <harald at redhat.com> 1.5.5-1
@@ -271,4 +289,3 @@ fi
 
 * Sat Dec 18 2004 Dave Jones <davej at redhat.com>
 - Initial packaging, based upon kernel-utils.
-
diff --git a/sources b/sources
index ced248f..2a2c287 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-2b08c3e23508f56e643130e1197c9ee3  readahead-1.5.6.tar.bz2
+1af1f243e640173c7b774463c8f08566  readahead-1.5.7.tar.bz2


More information about the scm-commits mailing list