Accepting request 212025 from home:posophe:branches:Base:System
update OBS-URL: https://build.opensuse.org/request/show/212025 OBS-URL: https://build.opensuse.org/package/show/Base:System/tuned?expand=0&rev=15
This commit is contained in:
parent
5d04abe001
commit
03e47b0d68
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:22b7d2655a58440ee0bf7a3ed197414121a6851e8e71a82eb3290c9ffbdb26cc
|
||||
size 58138
|
3
tuned-2.3.0.tar.bz2
Normal file
3
tuned-2.3.0.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:fba74ad66abc942859cd42aba0eaf379565adc9ecadea4eb8b49ddad2ff2a4d5
|
||||
size 62406
|
@ -1,3 +1,40 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Dec 22 15:38:29 UTC 2013 - p.drouand@gmail.com
|
||||
|
||||
- Update to version 2.3.0
|
||||
+ audio plugin: fixed audio settings in standard profiles
|
||||
resolves: rhbz#1019805
|
||||
+ video plugin: fixed tunings
|
||||
+ daemon: fixed crash if preset profile is not available
|
||||
resolves: rhbz#953128
|
||||
+ man: various updates and corrections
|
||||
+ functions: fixed usb and bluetooth handling
|
||||
+ tuned: switched to lightweighted pygobject3-base
|
||||
+ daemon: added global config for dynamic_tuning
|
||||
resolves: rhbz#1006427
|
||||
+ utils: added pmqos-static script for debug purposes
|
||||
resolves: rhbz#1015676
|
||||
+ throughput-performance: various fixes
|
||||
resolves: rhbz#987570
|
||||
+ tuned: added global option update_interval
|
||||
+ plugin_cpu: added support for x86_energy_perf_policy
|
||||
resolves: rhbz#1015675
|
||||
+ dbus: fixed KeyboardInterrupt handling
|
||||
+ plugin_cpu: added support for intel_pstate
|
||||
resolves: rhbz#996722
|
||||
+ profiles: various fixes
|
||||
resolves: rhbz#922068
|
||||
+ profiles: added desktop profile
|
||||
resolves: rhbz#996723
|
||||
+ tuned-adm: implemented non DBus fallback control
|
||||
+ profiles: added sap profile
|
||||
+ tuned: lowered CPU usage due to python bug
|
||||
resolves: rhbz#917587
|
||||
- Add missing requirements; ethtool, gawk, python-pyudev and powertop
|
||||
- Replace python-gobject2 with python-gobject in requirements;
|
||||
python-gobject2 is depreciated
|
||||
- Remove unwanted stuff instead of exclude it
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Oct 20 19:44:13 UTC 2013 - hrvoje.senjan@gmail.com
|
||||
|
||||
|
27
tuned.spec
27
tuned.spec
@ -17,7 +17,7 @@
|
||||
|
||||
|
||||
Name: tuned
|
||||
Version: 2.2.2
|
||||
Version: 2.3.0
|
||||
Release: 0
|
||||
Summary: A dynamic adaptive system tuning daemon
|
||||
License: GPL-2.0
|
||||
@ -34,9 +34,12 @@ BuildRequires: python
|
||||
BuildRequires: systemd
|
||||
Requires: /usr/bin/cpupower
|
||||
Requires: dbus-1-python
|
||||
Requires: python-gobject2
|
||||
Requires: ethtool
|
||||
Requires: gawk
|
||||
Requires: python-configobj
|
||||
Requires: python-decorator
|
||||
Requires: python-pyudev
|
||||
Requires: python-gobject
|
||||
%{?systemd_requires}
|
||||
BuildArch: noarch
|
||||
|
||||
@ -51,6 +54,7 @@ network and ATA harddisk devices are implemented.
|
||||
Summary: Disk and net statistic monitoring systemtap scripts
|
||||
Group: System/Base
|
||||
Requires: %{name} = %{version}
|
||||
Requires: powertop
|
||||
|
||||
%description utils
|
||||
This package contains utilities that can help you to fine tune your
|
||||
@ -76,14 +80,15 @@ instead of fewer large ones).
|
||||
|
||||
%build
|
||||
#The tuned daemon is written in pure Python. Nothing requires to be built.
|
||||
# Just a hack to avoid installation in a wrong directory
|
||||
sed -i 's|usr/libexec/tuned|%{_libexecdir}/%{name}|' Makefile
|
||||
|
||||
%install
|
||||
make install DESTDIR=%{buildroot}
|
||||
%py_compile %{buildroot}
|
||||
rm -rf %{buildroot}/%{_datadir}/doc
|
||||
|
||||
%pre
|
||||
%service_add_pre %{name}.service
|
||||
# Remove unwanted stuffs instead of exclude them in files list
|
||||
rm -rf %{buildroot}%{_libexecdir}/%{name}/{default,desktop-powersave,laptop-ac-powersave,server-powersave,laptop-battery-powersave,enterprise-storage,spindown-disk}
|
||||
|
||||
%post
|
||||
%service_add_post %{name}.service
|
||||
@ -111,16 +116,10 @@ sed -i 's|.*/\([^/]\+\)/[^\.]\+\.conf|\1|' /etc/tuned/active_profile
|
||||
%{python_sitelib}/tuned
|
||||
%{_sbindir}/tuned
|
||||
%{_sbindir}/tuned-adm
|
||||
%exclude %{_prefix}/lib/tuned/default
|
||||
%exclude %{_prefix}/lib/tuned/desktop-powersave
|
||||
%exclude %{_prefix}/lib/tuned/laptop-ac-powersave
|
||||
%exclude %{_prefix}/lib/tuned/server-powersave
|
||||
%exclude %{_prefix}/lib/tuned/laptop-battery-powersave
|
||||
%exclude %{_prefix}/lib/tuned/enterprise-storage
|
||||
%exclude %{_prefix}/lib/tuned/spindown-disk
|
||||
%{_prefix}/lib/tuned
|
||||
%{_libexecdir}/tuned
|
||||
%config(noreplace) %{_sysconfdir}/tuned/active_profile
|
||||
%{_prefix}/lib/tmpfiles.d
|
||||
%config(noreplace) %{_sysconfdir}/tuned/tuned-main.conf
|
||||
%{_libexecdir}/tmpfiles.d
|
||||
%config %{_sysconfdir}/dbus-1/system.d/com.redhat.tuned.conf
|
||||
%{_unitdir}/tuned.service
|
||||
%dir %{_localstatedir}/log/tuned
|
||||
|
Loading…
x
Reference in New Issue
Block a user