|
@@ -1,22 +1,14 @@
|
|
Summary: Read a preset list of files into memory.
|
|
Summary: Read a preset list of files into memory.
|
|
Summary(ja): あらかじめ指定したファイル群をメモリに先読みするツール
|
|
Summary(ja): あらかじめ指定したファイル群をメモリに先読みするツール
|
|
Name: readahead
|
|
Name: readahead
|
|
-Version: 1.5.6
|
|
|
|
|
|
+Version: 1.5.7
|
|
Release: 1%{?_dist_release}
|
|
Release: 1%{?_dist_release}
|
|
Group: System Environment/Base
|
|
Group: System Environment/Base
|
|
License: GPLv2+
|
|
License: GPLv2+
|
|
URL: https://hosted.fedoraproject.org/readahead
|
|
URL: https://hosted.fedoraproject.org/readahead
|
|
Source0: readahead-%{version}.tar.bz2
|
|
Source0: readahead-%{version}.tar.bz2
|
|
-#Source1: readahead_early
|
|
|
|
-#Source2: default.early
|
|
|
|
-# default settings for Vine Linux
|
|
|
|
-#Patch0: readahead-1.5.0-default.patch
|
|
|
|
-# (mdv) create a temp file to detect if collector is running, autodelect collector enabling file at end of collection
|
|
|
|
-#Patch1: readahead-1.4.6-autocollector.patch
|
|
|
|
-# (mdv) don't generate later list
|
|
|
|
-#Patch2: readahead-1.4.6-nolater.patch
|
|
|
|
-Patch3: better-cron.patch
|
|
|
|
-#Patch4: multiple-ignores.patch
|
|
|
|
|
|
+Patch0: better-cron.patch
|
|
|
|
+Patch1: readahead-1.5.6-autocollector.patch
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
Requires(post): /sbin/chkconfig
|
|
Requires(post): /sbin/chkconfig
|
|
@@ -39,13 +31,8 @@ readahead はあらかじめ指定されたファイルをメモリに読み込
|
|
|
|
|
|
%prep
|
|
%prep
|
|
%setup -q
|
|
%setup -q
|
|
-#%patch0 -p1 -b .default
|
|
|
|
-#%patch1 -p1 -b .autocollector
|
|
|
|
-#%patch2 -p1 -b .nolater
|
|
|
|
-%patch3 -p1
|
|
|
|
-#%patch4 -p1
|
|
|
|
-#install -m644 %{SOURCE2} lists/
|
|
|
|
-
|
|
|
|
|
|
+%patch0 -p1 -b .cron
|
|
|
|
+%patch1 -p1 -b .collector
|
|
|
|
|
|
%build
|
|
%build
|
|
%configure --sbindir=/sbin
|
|
%configure --sbindir=/sbin
|
|
@@ -58,6 +45,9 @@ mkdir -p ${RPM_BUILD_ROOT}%{_localstatedir}/lib/readahead
|
|
|
|
|
|
%find_lang %{name}
|
|
%find_lang %{name}
|
|
|
|
|
|
|
|
+# for delete systemd require file
|
|
|
|
+rm -rf %{buildroot}/lib/systemd/system/*
|
|
|
|
+
|
|
%clean
|
|
%clean
|
|
rm -rf ${RPM_BUILD_ROOT}
|
|
rm -rf ${RPM_BUILD_ROOT}
|
|
|
|
|
|
@@ -88,8 +78,18 @@ fi
|
|
%config(noreplace) %{_sysconfdir}/readahead.conf
|
|
%config(noreplace) %{_sysconfdir}/readahead.conf
|
|
/sbin/readahead
|
|
/sbin/readahead
|
|
/sbin/readahead-collector
|
|
/sbin/readahead-collector
|
|
|
|
+%dir /lib/readahead
|
|
|
|
+/lib/readahead/readahead-collect.sh
|
|
|
|
+/lib/readahead/readahead-replay.sh
|
|
|
|
+/lib/readahead/readahead-sort.sh
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Tue Oct 26 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.5.7-1
|
|
|
|
+- new upstream release
|
|
|
|
+- cleaned up spec
|
|
|
|
+- renumberd patches
|
|
|
|
+- added patch1 from mandriva
|
|
|
|
+
|
|
* Wed Jun 16 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.5.6-1
|
|
* Wed Jun 16 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.5.6-1
|
|
- new upstream release
|
|
- new upstream release
|
|
- dropt patche0,1,2,4 and other sources
|
|
- dropt patche0,1,2,4 and other sources
|