new-release

- fixed return code of tuned grub template
    resolves: rhbz#1151768
  - plugin_bootloader: fix for multiple parameters on command line
    related: rhbz#1148711
  - tuned-adm: fixed traceback on "tuned-adm list"
    resolves: rhbz#1149162
  - plugin_bootloader is automatically disabled if grub2 is not found
    resolves: rhbz#1150047
  - plugin_disk: set_spindown and set_APM made independent
    resolves: rhbz#976725
This commit is contained in:
Jaroslav Škarvada 2014-10-17 01:21:00 +02:00
parent 2d6381437a
commit d54d80c22c
3 changed files with 29 additions and 18 deletions

View File

@ -1 +1 @@
c72dd8afd24f0f5db81206d432eb75a2 tuned-2.4.0.tar.bz2
52f50aa2d53ca95206e5c19b8d978ac6 tuned-2.4.1.tar.bz2

View File

@ -1,13 +0,0 @@
diff --git a/org.tuned.gui.policy b/org.tuned.gui.policy
index 58b6209..68b15d8 100644
--- a/org.tuned.gui.policy
+++ b/org.tuned.gui.policy
@@ -10,7 +10,7 @@
<allow_inactive>auth_admin</allow_inactive>
<allow_active>auth_admin</allow_active>
</defaults>
- <annotate key="org.freedesktop.policykit.exec.path">/usr/bin/tuned-gui</annotate>
+ <annotate key="org.freedesktop.policykit.exec.path">/usr/sbin/tuned-gui</annotate>
<annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
</action>
</policyconfig>

View File

@ -1,6 +1,6 @@
Summary: A dynamic adaptive system tuning daemon
Name: tuned
Version: 2.4.0
Version: 2.4.1
Release: 1%{?dist}
License: GPLv2+
Source: https://fedorahosted.org/releases/t/u/tuned/tuned-%{version}.tar.bz2
@ -13,7 +13,6 @@ Requires(postun): systemd
Requires: python-decorator, dbus-python, pygobject3-base, python-pyudev
Requires: virt-what, python-configobj, ethtool, gawk, kernel-tools, hdparm
Requires: util-linux
Patch0: tuned-2.4.0-polkit-tuned-gui-path.patch
%description
The tuned package contains a daemon that tunes system settings dynamically.
@ -82,7 +81,6 @@ It can be also used to fine tune your system for specific scenarios.
%prep
%setup -q
%patch0 -p1
%build
@ -94,6 +92,11 @@ make install DESTDIR=%{buildroot}
sed -i 's/\(dynamic_tuning[ \t]*=[ \t]*\).*/\10/' %{buildroot}%{_sysconfdir}/tuned/tuned-main.conf
%endif
# conditional support for grub2, grub2 is not available on all architectures
# and tuned is noarch package, thus the following hack is needed
mkdir -p %{buildroot}%{_datadir}/tuned/grub2
mv %{buildroot}%{_sysconfdir}/grub.d/00_tuned %{buildroot}%{_datadir}/tuned/grub2/00_tuned
rmdir %{buildroot}%{_sysconfdir}/grub.d
%post
%systemd_post tuned.service
@ -116,6 +119,14 @@ sed -i 's|.*/\([^/]\+\)/[^\.]\+\.conf|\1|' /etc/tuned/active_profile
/usr/sbin/chkconfig --del ktune &>/dev/null || :
%posttrans
# conditional support for grub2, grub2 is not available on all architectures
# and tuned is noarch package, thus the following hack is needed
if [ -d %{_sysconfdir}/grub.d ]; then
cp -a %{_datadir}/tuned/grub2/00_tuned %{_sysconfdir}/grub.d/00_tuned
fi
%files
%defattr(-,root,root,-)
%doc AUTHORS
@ -145,7 +156,6 @@ sed -i 's|.*/\([^/]\+\)/[^\.]\+\.conf|\1|' /etc/tuned/active_profile
%config(noreplace) %{_sysconfdir}/tuned/tuned-main.conf
%config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/tuned/bootcmdline
%{_sysconfdir}/dbus-1/system.d/com.redhat.tuned.conf
%{_sysconfdir}/grub.d/00_tuned
%{_tmpfilesdir}/tuned.conf
%{_unitdir}/tuned.service
%dir %{_localstatedir}/log/tuned
@ -154,6 +164,7 @@ sed -i 's|.*/\([^/]\+\)/[^\.]\+\.conf|\1|' /etc/tuned/active_profile
%{_mandir}/man7/tuned-profiles.7*
%{_mandir}/man8/tuned*
%dir %{_datadir}/tuned
%{_datadir}/tuned/grub2
%files gtk
%defattr(-,root,root,-)
@ -210,6 +221,19 @@ sed -i 's|.*/\([^/]\+\)/[^\.]\+\.conf|\1|' /etc/tuned/active_profile
%{_mandir}/man7/tuned-profiles-compat.7*
%changelog
* Thu Oct 16 2014 Jaroslav Škarvada <jskarvad@redhat.com> - 2.4.1-1
- new-release
- fixed return code of tuned grub template
resolves: rhbz#1151768
- plugin_bootloader: fix for multiple parameters on command line
related: rhbz#1148711
- tuned-adm: fixed traceback on "tuned-adm list"
resolves: rhbz#1149162
- plugin_bootloader is automatically disabled if grub2 is not found
resolves: rhbz#1150047
- plugin_disk: set_spindown and set_APM made independent
resolves: rhbz#976725
* Wed Oct 1 2014 Jaroslav Škarvada <jskarvad@redhat.com> - 2.4.0-1
- new-release
resolves: rhbz#1093883