new-release

- gui: fixed save profile
    resolves: rhbz#1242491
  - tuned-adm: added --ignore-missing parameter
    resolves: rhbz#1243807
  - plugin_vm: added transparent_hugepage alias
    resolves: rhbz#1249610
  - plugins: added modules plugin
    resolves: rhbz#1249618
  - plugin_cpu: do not show error if cpupower or x86_energy_perf_policy are
    missing
    resolves: rhbz#1254417
  - tuned-adm: fixed restart attempt if tuned is not running
    resolves: rhbz#1258755
  - nfv: avoided race condition by using synchronous mode
    resolves: rhbz#1259039
  - realtime: added check for isolcpus sanity
    resolves: rhbz#1264128
  - pm_qos: fixed exception if PM_QoS is not available
    resolves: rhbz#1296137
  - plugin_sysctl: reapply system sysctl after Tuned sysctl are applied
    resolves: rhbz#1302953
  - atomic: increase number of inotify watches
    resolves: rhbz#1322001
  - realtime-virtual-host/guest: added rcu_nocbs kernel boot parameter
    resolves: rhbz#1334479
  - realtime: fixed kernel.sched_rt_runtime_us to be -1
    resolves: rhbz#1346715
  - tuned-adm: fixed detection of no_daemon mode
    resolves: rhbz#1351536
  - plugin_base: correctly strip assignment modifiers even if not used
    resolves: rhbz#1353142
  - plugin_disk: try to workaround embedded '/' in device names
    related: rhbz#1353142
  - sap-hana: explicitly setting kernel.numa_balancing = 0 for better performance
    resolves: rhbz#1355768
  - switched to polkit authorization
    resolves: rhbz#1095142
  - plugins: added scsi_host plugin
    resolves: rhbz#1246992
  - spec: fixed conditional support for grub2 to work with selinux
    resolves: rhbz#1351937
  - gui: added tuned icon and desktop file
    resolves: rhbz#1356369
This commit is contained in:
Jaroslav Škarvada 2016-07-19 15:54:40 +02:00
parent f69b6f9f5a
commit 13effbc560
2 changed files with 81 additions and 7 deletions

View File

@ -1 +1 @@
2652f98589aa9fc79396c475bdc78ee3 tuned-2.6.0.tar.bz2
5afcb636743cb10c370ba77a04c874ce tuned-2.7.0.tar.bz2

View File

@ -1,18 +1,18 @@
Summary: A dynamic adaptive system tuning daemon
Name: tuned
Version: 2.6.0
Release: 3%{?dist}
Version: 2.7.0
Release: 1%{?dist}
License: GPLv2+
Source: https://fedorahosted.org/releases/t/u/tuned/tuned-%{version}.tar.bz2
URL: https://fedorahosted.org/tuned/
BuildArch: noarch
BuildRequires: python, systemd
BuildRequires: python, systemd, desktop-file-utils
Requires(post): systemd, virt-what
Requires(preun): systemd
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, python-perf
Requires: util-linux, python-perf, dbus, polkit
%description
The tuned package contains a daemon that tunes system settings dynamically.
@ -35,7 +35,7 @@ Requires: %{name} = %{version}-%{release}
Requires: powertop, pygobject3-base, polkit
%description gtk
GTK GUI that can control tuned and provide simple profile editor.
GTK GUI that can control tuned and provides simple profile editor.
%package utils
Requires: %{name} = %{version}-%{release}
@ -130,6 +130,13 @@ mkdir -p %{buildroot}%{_datadir}/tuned/grub2
mv %{buildroot}%{_sysconfdir}/grub.d/00_tuned %{buildroot}%{_datadir}/tuned/grub2/00_tuned
rmdir %{buildroot}%{_sysconfdir}/grub.d
# ghost for NFV
mkdir -p %{buildroot}%{_sysconfdir}/modprobe.d
touch %{buildroot}%{_sysconfdir}/modprobe.d/kvm.rt.tuned.conf
# validate desktop file
desktop-file-validate %{buildroot}%{_datadir}/applications/tuned-gui.desktop
%post
%systemd_post tuned.service
@ -172,9 +179,25 @@ fi
# 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
selinuxenabled && restorecon %{_sysconfdir}/grub.d/00_tuned || :
fi
%post gtk
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
%postun gtk
if [ $1 -eq 0 ] ; then
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null
/usr/bin/gtk-update-icon-cache -f %{_datadir}/icons/hicolor &>/dev/null || :
fi
%posttrans gtk
/usr/bin/gtk-update-icon-cache -f %{_datadir}/icons/hicolor &>/dev/null || :
%files
%defattr(-,root,root,-)
%exclude %{docdir}/README.utils
@ -209,6 +232,7 @@ fi
%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
%verify(not size mtime md5) %{_sysconfdir}/modprobe.d/tuned.conf
%{_tmpfilesdir}/tuned.conf
%{_unitdir}/tuned.service
%dir %{_localstatedir}/log/tuned
@ -218,13 +242,16 @@ fi
%{_mandir}/man8/tuned*
%dir %{_datadir}/tuned
%{_datadir}/tuned/grub2
%{_datadir}/polkit-1/actions/com.redhat.tuned.policy
%files gtk
%defattr(-,root,root,-)
%{_sbindir}/tuned-gui
%{python_sitelib}/tuned/gtk
%{_datadir}/tuned/ui
%{_datadir}/polkit-1/actions/org.tuned.gui.policy
%{_datadir}/polkit-1/actions/com.redhat.tuned.gui.policy
%{_datadir}/icons/hicolor/scalable/apps/tuned.svg
%{_datadir}/applications/tuned-gui.desktop
%files utils
%doc COPYING
@ -277,6 +304,7 @@ fi
%defattr(-,root,root,-)
%config(noreplace) %{_sysconfdir}/tuned/realtime-virtual-guest-variables.conf
%config(noreplace) %{_sysconfdir}/tuned/realtime-virtual-host-variables.conf
%ghost %{_sysconfdir}/modprobe.d/kvm.rt.tuned.conf
%{_prefix}/lib/tuned/realtime-virtual-guest
%{_prefix}/lib/tuned/realtime-virtual-host
%{_libexecdir}/tuned/defirqaffinity*
@ -294,6 +322,52 @@ fi
%{_mandir}/man7/tuned-profiles-compat.7*
%changelog
* Tue Jul 19 2016 Jaroslav Škarvada <jskarvad@redhat.com> - 2.7.0-1
- new-release
- gui: fixed save profile
resolves: rhbz#1242491
- tuned-adm: added --ignore-missing parameter
resolves: rhbz#1243807
- plugin_vm: added transparent_hugepage alias
resolves: rhbz#1249610
- plugins: added modules plugin
resolves: rhbz#1249618
- plugin_cpu: do not show error if cpupower or x86_energy_perf_policy are
missing
resolves: rhbz#1254417
- tuned-adm: fixed restart attempt if tuned is not running
resolves: rhbz#1258755
- nfv: avoided race condition by using synchronous mode
resolves: rhbz#1259039
- realtime: added check for isolcpus sanity
resolves: rhbz#1264128
- pm_qos: fixed exception if PM_QoS is not available
resolves: rhbz#1296137
- plugin_sysctl: reapply system sysctl after Tuned sysctl are applied
resolves: rhbz#1302953
- atomic: increase number of inotify watches
resolves: rhbz#1322001
- realtime-virtual-host/guest: added rcu_nocbs kernel boot parameter
resolves: rhbz#1334479
- realtime: fixed kernel.sched_rt_runtime_us to be -1
resolves: rhbz#1346715
- tuned-adm: fixed detection of no_daemon mode
resolves: rhbz#1351536
- plugin_base: correctly strip assignment modifiers even if not used
resolves: rhbz#1353142
- plugin_disk: try to workaround embedded '/' in device names
related: rhbz#1353142
- sap-hana: explicitly setting kernel.numa_balancing = 0 for better performance
resolves: rhbz#1355768
- switched to polkit authorization
resolves: rhbz#1095142
- plugins: added scsi_host plugin
resolves: rhbz#1246992
- spec: fixed conditional support for grub2 to work with selinux
resolves: rhbz#1351937
- gui: added tuned icon and desktop file
resolves: rhbz#1356369
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6.0-3
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages