From 5725c96e53be3e822753332ff3e6597e017d0955 Mon Sep 17 00:00:00 2001 From: Jan Vcelak Date: Mon, 29 Nov 2010 12:16:30 +0100 Subject: [PATCH] updated to release 0.2.18 --- .gitignore | 2 +- sources | 2 +- tuned.spec | 19 ++++++++++++++++--- 3 files changed, 18 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index a5af8f9..b375051 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -/tuned-0.2.17.tar.bz2 +/tuned-0.2.18.tar.bz2 diff --git a/sources b/sources index 69704ff..e4a9cef 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -282340f82835ce587457777758769301 tuned-0.2.17.tar.bz2 +eb8914ab36c7c519a679b2ba9950ad1e tuned-0.2.18.tar.bz2 diff --git a/tuned.spec b/tuned.spec index b7a9a6d..9ffe514 100644 --- a/tuned.spec +++ b/tuned.spec @@ -1,6 +1,8 @@ +%global uses_tmpfs (0%{?fedora} >= 15) + Summary: A dynamic adaptive system tuning daemon Name: tuned -Version: 0.2.17 +Version: 0.2.18 Release: 1%{?dist} License: GPLv2+ Group: System Environment/Daemons @@ -49,6 +51,10 @@ instead of fewer large ones). rm -rf %{buildroot} make install DESTDIR=%{buildroot} +%if !%uses_tmpfs + rm -rf %{buildroot}%{_sysconfdir}/tmpfiles.d +%endif + %clean rm -rf %{buildroot} @@ -92,8 +98,11 @@ fi %config(noreplace) %{_sysconfdir}/sysconfig/ktune %config(noreplace) %{_sysconfdir}/ktune.d/tunedadm.conf %dir %{_sysconfdir}/ktune.d -%dir /var/log/tuned -%dir /var/run/tuned +%dir %{_localstatedir}/log/tuned +%dir %{_localstatedir}/run/tuned +%if %uses_tmpfs +%{_sysconfdir}/tmpfiles.d +%endif %files utils %defattr(-,root,root,-) @@ -107,6 +116,10 @@ fi %changelog +* Mon Nov 29 2010 Jan Vcelak 0.2.18-1 +- fix hal-disable-polling if no CD drives present +- setup tmpfiles.d config to autocreate runtime directory on F15 + * Wed Oct 06 2010 Jan Vcelak 0.2.17-1 - added 'enterprise-storage' profile - added support for architecture-specific configuration files