tuned/tuned.spec

306 lines
10 KiB
RPMSpec
Raw Normal View History

#
# spec file for package tuned
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{!?_tmpfilesdir:%global _tmpfilesdir %{_libexecdir}/tmpfiles.d}
Name: tuned
Version: 2.10.0
Release: 0
Summary: A dynamic adaptive system tuning daemon
Accepting request 593952 from home:scarabeus_iv:branches:Base:System The only problem I have is that we now have some polkit rules to handle tuned from UI, someone from security team should review those (when I shadow it the package operates as expected). - Reintroduce the _service file as we must use git head in order to get all the python3 fixes in - Update to version 2.9.0+git20180328.d25e8b8: * makefile: dropped KVM unit tests, now provided by standalone package * sysctl: support assignment modifiers as other plugins do * spec: used weak deps for tuned-profiles-nfv-host-bin * Added requires to tuned-profiles-nfv-host-bin * Dropped tuned-profiles-nfv-host-bin subpackage * tuned: Add readahead comment to throughput-performance tuned.conf * oracle: fixed ip_local_port_range parity warning * Consistently use 'balance' instead of 'rebalance' in cpu-partitioning - Rebase check_for_cpupower.patch to apply cleanly again - Version update to 2.9.0: * python3 porting start * various small fixes - Drop patches merged upstream: * fix-desktop-category.patch * remove-unnecessary-shebangs.patch * fix-glade-file-permission.patch - Switch to autopatch from calling all individual patchlines - Switch to python3 and format with spec-cleaner - Switch to normal url fetching, there is no actual reason to run service in order to generate the versioned tarballs OBS-URL: https://build.opensuse.org/request/show/593952 OBS-URL: https://build.opensuse.org/package/show/Base:System/tuned?expand=0&rev=50
2018-04-06 14:42:13 +02:00
License: GPL-2.0-or-later
Group: System/Base
Accepting request 593952 from home:scarabeus_iv:branches:Base:System The only problem I have is that we now have some polkit rules to handle tuned from UI, someone from security team should review those (when I shadow it the package operates as expected). - Reintroduce the _service file as we must use git head in order to get all the python3 fixes in - Update to version 2.9.0+git20180328.d25e8b8: * makefile: dropped KVM unit tests, now provided by standalone package * sysctl: support assignment modifiers as other plugins do * spec: used weak deps for tuned-profiles-nfv-host-bin * Added requires to tuned-profiles-nfv-host-bin * Dropped tuned-profiles-nfv-host-bin subpackage * tuned: Add readahead comment to throughput-performance tuned.conf * oracle: fixed ip_local_port_range parity warning * Consistently use 'balance' instead of 'rebalance' in cpu-partitioning - Rebase check_for_cpupower.patch to apply cleanly again - Version update to 2.9.0: * python3 porting start * various small fixes - Drop patches merged upstream: * fix-desktop-category.patch * remove-unnecessary-shebangs.patch * fix-glade-file-permission.patch - Switch to autopatch from calling all individual patchlines - Switch to python3 and format with spec-cleaner - Switch to normal url fetching, there is no actual reason to run service in order to generate the versioned tarballs OBS-URL: https://build.opensuse.org/request/show/593952 OBS-URL: https://build.opensuse.org/package/show/Base:System/tuned?expand=0&rev=50
2018-04-06 14:42:13 +02:00
URL: https://github.com/redhat-performance/tuned
#Source0: https://github.com/redhat-performance/tuned/archive/v%%{version}.tar.gz#/%%{name}-%%{version}.tar.gz
Source0: %{name}-%{version}.tar.xz
Source1: tuned.rpmlintrc
# PATCH-FIX-OPENSUSE fix-allow-receive_sender-default.patch <allow receive_sender="com.redhat.com"/> allow receive_* is normally
# not needed as that is the default --<p.drouand@gmail.com>
Patch0: fix-allow-receive_sender-default.patch
Patch1: tuned_differ_x86_and_other_archs_in_cpu_plugin.patch
BuildRequires: bash-completion
BuildRequires: desktop-file-utils
Accepting request 593952 from home:scarabeus_iv:branches:Base:System The only problem I have is that we now have some polkit rules to handle tuned from UI, someone from security team should review those (when I shadow it the package operates as expected). - Reintroduce the _service file as we must use git head in order to get all the python3 fixes in - Update to version 2.9.0+git20180328.d25e8b8: * makefile: dropped KVM unit tests, now provided by standalone package * sysctl: support assignment modifiers as other plugins do * spec: used weak deps for tuned-profiles-nfv-host-bin * Added requires to tuned-profiles-nfv-host-bin * Dropped tuned-profiles-nfv-host-bin subpackage * tuned: Add readahead comment to throughput-performance tuned.conf * oracle: fixed ip_local_port_range parity warning * Consistently use 'balance' instead of 'rebalance' in cpu-partitioning - Rebase check_for_cpupower.patch to apply cleanly again - Version update to 2.9.0: * python3 porting start * various small fixes - Drop patches merged upstream: * fix-desktop-category.patch * remove-unnecessary-shebangs.patch * fix-glade-file-permission.patch - Switch to autopatch from calling all individual patchlines - Switch to python3 and format with spec-cleaner - Switch to normal url fetching, there is no actual reason to run service in order to generate the versioned tarballs OBS-URL: https://build.opensuse.org/request/show/593952 OBS-URL: https://build.opensuse.org/package/show/Base:System/tuned?expand=0&rev=50
2018-04-06 14:42:13 +02:00
BuildRequires: pkgconfig
BuildRequires: python3-base
BuildRequires: pkgconfig(systemd)
# need perf_bias now
Requires: cpupower >= 4.19
Requires: ethtool
Requires: gawk
Requires: hdparm
Requires: polkit
Accepting request 593952 from home:scarabeus_iv:branches:Base:System The only problem I have is that we now have some polkit rules to handle tuned from UI, someone from security team should review those (when I shadow it the package operates as expected). - Reintroduce the _service file as we must use git head in order to get all the python3 fixes in - Update to version 2.9.0+git20180328.d25e8b8: * makefile: dropped KVM unit tests, now provided by standalone package * sysctl: support assignment modifiers as other plugins do * spec: used weak deps for tuned-profiles-nfv-host-bin * Added requires to tuned-profiles-nfv-host-bin * Dropped tuned-profiles-nfv-host-bin subpackage * tuned: Add readahead comment to throughput-performance tuned.conf * oracle: fixed ip_local_port_range parity warning * Consistently use 'balance' instead of 'rebalance' in cpu-partitioning - Rebase check_for_cpupower.patch to apply cleanly again - Version update to 2.9.0: * python3 porting start * various small fixes - Drop patches merged upstream: * fix-desktop-category.patch * remove-unnecessary-shebangs.patch * fix-glade-file-permission.patch - Switch to autopatch from calling all individual patchlines - Switch to python3 and format with spec-cleaner - Switch to normal url fetching, there is no actual reason to run service in order to generate the versioned tarballs OBS-URL: https://build.opensuse.org/request/show/593952 OBS-URL: https://build.opensuse.org/package/show/Base:System/tuned?expand=0&rev=50
2018-04-06 14:42:13 +02:00
Requires: python3-configobj
Requires: python3-dbus-python
Requires: python3-decorator
Requires: python3-gobject
Requires: python3-linux-procfs
Accepting request 593952 from home:scarabeus_iv:branches:Base:System The only problem I have is that we now have some polkit rules to handle tuned from UI, someone from security team should review those (when I shadow it the package operates as expected). - Reintroduce the _service file as we must use git head in order to get all the python3 fixes in - Update to version 2.9.0+git20180328.d25e8b8: * makefile: dropped KVM unit tests, now provided by standalone package * sysctl: support assignment modifiers as other plugins do * spec: used weak deps for tuned-profiles-nfv-host-bin * Added requires to tuned-profiles-nfv-host-bin * Dropped tuned-profiles-nfv-host-bin subpackage * tuned: Add readahead comment to throughput-performance tuned.conf * oracle: fixed ip_local_port_range parity warning * Consistently use 'balance' instead of 'rebalance' in cpu-partitioning - Rebase check_for_cpupower.patch to apply cleanly again - Version update to 2.9.0: * python3 porting start * various small fixes - Drop patches merged upstream: * fix-desktop-category.patch * remove-unnecessary-shebangs.patch * fix-glade-file-permission.patch - Switch to autopatch from calling all individual patchlines - Switch to python3 and format with spec-cleaner - Switch to normal url fetching, there is no actual reason to run service in order to generate the versioned tarballs OBS-URL: https://build.opensuse.org/request/show/593952 OBS-URL: https://build.opensuse.org/package/show/Base:System/tuned?expand=0&rev=50
2018-04-06 14:42:13 +02:00
Requires: python3-pyudev
Requires: util-linux
Obsoletes: pm-profiler
BuildArch: noarc
Requires: polkit
%{?systemd_requires}
%description
The tuned package contains a daemon that tunes system settings dynamically.
It does so by monitoring the usage of several system components periodically.
Based on that information components will then be put into lower or higher
power saving modes to adapt to the current usage. Currently only ethernet
network and ATA harddisk devices are implemented.
%package gtk
Summary: Disk and net statistic monitoring systemtap scripts - GTK GUI
Group: System/Base
Requires: %{name} = %{version}
Requires: polkit
Requires: powertop
%description gtk
GTK GUI that can control tuned and provide simple profile editor.
# Do not ship SAP profiles for SLE and Leap, there are other packages
# providing these profiles
%if !0%{?sle_version}
%package profiles-sap
Summary: Additional tuned profile(s) targeted to SAP NetWeaver loads
Group: System/Base
Requires: %{name} = %{version}
%description profiles-sap
Additional profile(s) for the tuned daemon, targeted to SAP NetWeaver loads.
%package profiles-sap-hana
Summary: Additional tuned profile(s) targeted to SAP HANA loads
Group: System/Base
Requires: %{name} = %{version}
%description profiles-sap-hana
Additional profile(s) for the tuned daemon, targeted to SAP HANA loads.
%endif
%package profiles-atomic
Summary: Additional tuned profiles targeted to Atomic
Group: System/Base
Requires: %{name} = %{version}
%description profiles-atomic
Additional profile(s) for the tuned daemon, targeted to Atomic host and guest.
%package profiles-realtime
Summary: Additional tuned profiles targeted to realtime
Group: System/Base
Requires: %{name} = %{version}
%description profiles-realtime
Additional profile(s) for the tuned daemon, targeted to realtime.
%package profiles-oracle
Summary: Additional tuned profiles targeted to Oracle loads
Group: System/Base
Requires: %{name} = %{version}
%description profiles-oracle
Additional profile(s) for the tuned daemon, targeted to Oracle loads.
%package profiles-nfv
Summary: Additional tuned profiles targeted to Network Function Virtualization (NFV)
Group: System/Base
Requires: %{name} = %{version}
%description profiles-nfv
Additional profile(s) for the tuned daemon, targeted to Network Function Virtualization (NFV).
%package utils
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
system and manage tuned profiles.
%package utils-systemtap
Summary: Disk and net statistic monitoring systemtap scripts
Group: System/Base
Requires: %{name} = %{version}
Requires: systemtap
%description utils-systemtap
This package contains several systemtap scripts to allow detailed
manual monitoring of the system. Instead of the typical IO/sec it collects
minimal, maximal and average time between operations to be able to
identify applications that behave power inefficient (many small operations
instead of fewer large ones).
%prep
%setup -q
Accepting request 593952 from home:scarabeus_iv:branches:Base:System The only problem I have is that we now have some polkit rules to handle tuned from UI, someone from security team should review those (when I shadow it the package operates as expected). - Reintroduce the _service file as we must use git head in order to get all the python3 fixes in - Update to version 2.9.0+git20180328.d25e8b8: * makefile: dropped KVM unit tests, now provided by standalone package * sysctl: support assignment modifiers as other plugins do * spec: used weak deps for tuned-profiles-nfv-host-bin * Added requires to tuned-profiles-nfv-host-bin * Dropped tuned-profiles-nfv-host-bin subpackage * tuned: Add readahead comment to throughput-performance tuned.conf * oracle: fixed ip_local_port_range parity warning * Consistently use 'balance' instead of 'rebalance' in cpu-partitioning - Rebase check_for_cpupower.patch to apply cleanly again - Version update to 2.9.0: * python3 porting start * various small fixes - Drop patches merged upstream: * fix-desktop-category.patch * remove-unnecessary-shebangs.patch * fix-glade-file-permission.patch - Switch to autopatch from calling all individual patchlines - Switch to python3 and format with spec-cleaner - Switch to normal url fetching, there is no actual reason to run service in order to generate the versioned tarballs OBS-URL: https://build.opensuse.org/request/show/593952 OBS-URL: https://build.opensuse.org/package/show/Base:System/tuned?expand=0&rev=50
2018-04-06 14:42:13 +02:00
%autopatch -p1
%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
Accepting request 593952 from home:scarabeus_iv:branches:Base:System The only problem I have is that we now have some polkit rules to handle tuned from UI, someone from security team should review those (when I shadow it the package operates as expected). - Reintroduce the _service file as we must use git head in order to get all the python3 fixes in - Update to version 2.9.0+git20180328.d25e8b8: * makefile: dropped KVM unit tests, now provided by standalone package * sysctl: support assignment modifiers as other plugins do * spec: used weak deps for tuned-profiles-nfv-host-bin * Added requires to tuned-profiles-nfv-host-bin * Dropped tuned-profiles-nfv-host-bin subpackage * tuned: Add readahead comment to throughput-performance tuned.conf * oracle: fixed ip_local_port_range parity warning * Consistently use 'balance' instead of 'rebalance' in cpu-partitioning - Rebase check_for_cpupower.patch to apply cleanly again - Version update to 2.9.0: * python3 porting start * various small fixes - Drop patches merged upstream: * fix-desktop-category.patch * remove-unnecessary-shebangs.patch * fix-glade-file-permission.patch - Switch to autopatch from calling all individual patchlines - Switch to python3 and format with spec-cleaner - Switch to normal url fetching, there is no actual reason to run service in order to generate the versioned tarballs OBS-URL: https://build.opensuse.org/request/show/593952 OBS-URL: https://build.opensuse.org/package/show/Base:System/tuned?expand=0&rev=50
2018-04-06 14:42:13 +02:00
%make_install
%py3_compile %{buildroot}/%{python3_sitelib}
rm -rf %{buildroot}/%{_datadir}/doc
Accepting request 593952 from home:scarabeus_iv:branches:Base:System The only problem I have is that we now have some polkit rules to handle tuned from UI, someone from security team should review those (when I shadow it the package operates as expected). - Reintroduce the _service file as we must use git head in order to get all the python3 fixes in - Update to version 2.9.0+git20180328.d25e8b8: * makefile: dropped KVM unit tests, now provided by standalone package * sysctl: support assignment modifiers as other plugins do * spec: used weak deps for tuned-profiles-nfv-host-bin * Added requires to tuned-profiles-nfv-host-bin * Dropped tuned-profiles-nfv-host-bin subpackage * tuned: Add readahead comment to throughput-performance tuned.conf * oracle: fixed ip_local_port_range parity warning * Consistently use 'balance' instead of 'rebalance' in cpu-partitioning - Rebase check_for_cpupower.patch to apply cleanly again - Version update to 2.9.0: * python3 porting start * various small fixes - Drop patches merged upstream: * fix-desktop-category.patch * remove-unnecessary-shebangs.patch * fix-glade-file-permission.patch - Switch to autopatch from calling all individual patchlines - Switch to python3 and format with spec-cleaner - Switch to normal url fetching, there is no actual reason to run service in order to generate the versioned tarballs OBS-URL: https://build.opensuse.org/request/show/593952 OBS-URL: https://build.opensuse.org/package/show/Base:System/tuned?expand=0&rev=50
2018-04-06 14:42:13 +02:00
# Remove unwanted stuff instead of excluding them in files list
rm -rf %{buildroot}%{_libexecdir}/%{name}/{default,desktop-powersave,laptop-ac-powersave,server-powersave,laptop-battery-powersave,enterprise-storage,spindown-disk}
rm %{buildroot}%{_mandir}/man7/tuned-profiles-compat.7
ln -sf service %{buildroot}%{_sbindir}/rctuned
%post
%service_add_post %{name}.service
%if 0%{?suse_version} <= 1320
systemd-tmpfiles --create %{_tmpfilesdir}/%{name}.conf >/dev/null 2>&1 || :
%else
%tmpfiles_create %{_tmpfilesdir}/%{name}.conf
%endif
# convert active_profile from full path to name (if needed)
sed -i 's|.*/\([^/]\+\)/[^\.]\+\.conf|\1|' %{_sysconfdir}/tuned/active_profile
Accepting request 593952 from home:scarabeus_iv:branches:Base:System The only problem I have is that we now have some polkit rules to handle tuned from UI, someone from security team should review those (when I shadow it the package operates as expected). - Reintroduce the _service file as we must use git head in order to get all the python3 fixes in - Update to version 2.9.0+git20180328.d25e8b8: * makefile: dropped KVM unit tests, now provided by standalone package * sysctl: support assignment modifiers as other plugins do * spec: used weak deps for tuned-profiles-nfv-host-bin * Added requires to tuned-profiles-nfv-host-bin * Dropped tuned-profiles-nfv-host-bin subpackage * tuned: Add readahead comment to throughput-performance tuned.conf * oracle: fixed ip_local_port_range parity warning * Consistently use 'balance' instead of 'rebalance' in cpu-partitioning - Rebase check_for_cpupower.patch to apply cleanly again - Version update to 2.9.0: * python3 porting start * various small fixes - Drop patches merged upstream: * fix-desktop-category.patch * remove-unnecessary-shebangs.patch * fix-glade-file-permission.patch - Switch to autopatch from calling all individual patchlines - Switch to python3 and format with spec-cleaner - Switch to normal url fetching, there is no actual reason to run service in order to generate the versioned tarballs OBS-URL: https://build.opensuse.org/request/show/593952 OBS-URL: https://build.opensuse.org/package/show/Base:System/tuned?expand=0&rev=50
2018-04-06 14:42:13 +02:00
%if 0%{?suse_version} < 1500
%desktop_database_post
Accepting request 593952 from home:scarabeus_iv:branches:Base:System The only problem I have is that we now have some polkit rules to handle tuned from UI, someone from security team should review those (when I shadow it the package operates as expected). - Reintroduce the _service file as we must use git head in order to get all the python3 fixes in - Update to version 2.9.0+git20180328.d25e8b8: * makefile: dropped KVM unit tests, now provided by standalone package * sysctl: support assignment modifiers as other plugins do * spec: used weak deps for tuned-profiles-nfv-host-bin * Added requires to tuned-profiles-nfv-host-bin * Dropped tuned-profiles-nfv-host-bin subpackage * tuned: Add readahead comment to throughput-performance tuned.conf * oracle: fixed ip_local_port_range parity warning * Consistently use 'balance' instead of 'rebalance' in cpu-partitioning - Rebase check_for_cpupower.patch to apply cleanly again - Version update to 2.9.0: * python3 porting start * various small fixes - Drop patches merged upstream: * fix-desktop-category.patch * remove-unnecessary-shebangs.patch * fix-glade-file-permission.patch - Switch to autopatch from calling all individual patchlines - Switch to python3 and format with spec-cleaner - Switch to normal url fetching, there is no actual reason to run service in order to generate the versioned tarballs OBS-URL: https://build.opensuse.org/request/show/593952 OBS-URL: https://build.opensuse.org/package/show/Base:System/tuned?expand=0&rev=50
2018-04-06 14:42:13 +02:00
%endif
%pre
%service_add_pre %{name}.service
%preun
%service_del_preun %{name}.service
%postun
%service_del_postun %{name}.service
Accepting request 593952 from home:scarabeus_iv:branches:Base:System The only problem I have is that we now have some polkit rules to handle tuned from UI, someone from security team should review those (when I shadow it the package operates as expected). - Reintroduce the _service file as we must use git head in order to get all the python3 fixes in - Update to version 2.9.0+git20180328.d25e8b8: * makefile: dropped KVM unit tests, now provided by standalone package * sysctl: support assignment modifiers as other plugins do * spec: used weak deps for tuned-profiles-nfv-host-bin * Added requires to tuned-profiles-nfv-host-bin * Dropped tuned-profiles-nfv-host-bin subpackage * tuned: Add readahead comment to throughput-performance tuned.conf * oracle: fixed ip_local_port_range parity warning * Consistently use 'balance' instead of 'rebalance' in cpu-partitioning - Rebase check_for_cpupower.patch to apply cleanly again - Version update to 2.9.0: * python3 porting start * various small fixes - Drop patches merged upstream: * fix-desktop-category.patch * remove-unnecessary-shebangs.patch * fix-glade-file-permission.patch - Switch to autopatch from calling all individual patchlines - Switch to python3 and format with spec-cleaner - Switch to normal url fetching, there is no actual reason to run service in order to generate the versioned tarballs OBS-URL: https://build.opensuse.org/request/show/593952 OBS-URL: https://build.opensuse.org/package/show/Base:System/tuned?expand=0&rev=50
2018-04-06 14:42:13 +02:00
%if 0%{?suse_version} < 1500
%desktop_database_postun
Accepting request 593952 from home:scarabeus_iv:branches:Base:System The only problem I have is that we now have some polkit rules to handle tuned from UI, someone from security team should review those (when I shadow it the package operates as expected). - Reintroduce the _service file as we must use git head in order to get all the python3 fixes in - Update to version 2.9.0+git20180328.d25e8b8: * makefile: dropped KVM unit tests, now provided by standalone package * sysctl: support assignment modifiers as other plugins do * spec: used weak deps for tuned-profiles-nfv-host-bin * Added requires to tuned-profiles-nfv-host-bin * Dropped tuned-profiles-nfv-host-bin subpackage * tuned: Add readahead comment to throughput-performance tuned.conf * oracle: fixed ip_local_port_range parity warning * Consistently use 'balance' instead of 'rebalance' in cpu-partitioning - Rebase check_for_cpupower.patch to apply cleanly again - Version update to 2.9.0: * python3 porting start * various small fixes - Drop patches merged upstream: * fix-desktop-category.patch * remove-unnecessary-shebangs.patch * fix-glade-file-permission.patch - Switch to autopatch from calling all individual patchlines - Switch to python3 and format with spec-cleaner - Switch to normal url fetching, there is no actual reason to run service in order to generate the versioned tarballs OBS-URL: https://build.opensuse.org/request/show/593952 OBS-URL: https://build.opensuse.org/package/show/Base:System/tuned?expand=0&rev=50
2018-04-06 14:42:13 +02:00
%endif
%files
%dir %{_sysconfdir}/modprobe.d
Accepting request 593952 from home:scarabeus_iv:branches:Base:System The only problem I have is that we now have some polkit rules to handle tuned from UI, someone from security team should review those (when I shadow it the package operates as expected). - Reintroduce the _service file as we must use git head in order to get all the python3 fixes in - Update to version 2.9.0+git20180328.d25e8b8: * makefile: dropped KVM unit tests, now provided by standalone package * sysctl: support assignment modifiers as other plugins do * spec: used weak deps for tuned-profiles-nfv-host-bin * Added requires to tuned-profiles-nfv-host-bin * Dropped tuned-profiles-nfv-host-bin subpackage * tuned: Add readahead comment to throughput-performance tuned.conf * oracle: fixed ip_local_port_range parity warning * Consistently use 'balance' instead of 'rebalance' in cpu-partitioning - Rebase check_for_cpupower.patch to apply cleanly again - Version update to 2.9.0: * python3 porting start * various small fixes - Drop patches merged upstream: * fix-desktop-category.patch * remove-unnecessary-shebangs.patch * fix-glade-file-permission.patch - Switch to autopatch from calling all individual patchlines - Switch to python3 and format with spec-cleaner - Switch to normal url fetching, there is no actual reason to run service in order to generate the versioned tarballs OBS-URL: https://build.opensuse.org/request/show/593952 OBS-URL: https://build.opensuse.org/package/show/Base:System/tuned?expand=0&rev=50
2018-04-06 14:42:13 +02:00
%license COPYING
%doc AUTHORS README
%{_datadir}/bash-completion/completions/tuned-adm
%{_datadir}/polkit-1/actions/com.redhat.tuned.policy
Accepting request 593952 from home:scarabeus_iv:branches:Base:System The only problem I have is that we now have some polkit rules to handle tuned from UI, someone from security team should review those (when I shadow it the package operates as expected). - Reintroduce the _service file as we must use git head in order to get all the python3 fixes in - Update to version 2.9.0+git20180328.d25e8b8: * makefile: dropped KVM unit tests, now provided by standalone package * sysctl: support assignment modifiers as other plugins do * spec: used weak deps for tuned-profiles-nfv-host-bin * Added requires to tuned-profiles-nfv-host-bin * Dropped tuned-profiles-nfv-host-bin subpackage * tuned: Add readahead comment to throughput-performance tuned.conf * oracle: fixed ip_local_port_range parity warning * Consistently use 'balance' instead of 'rebalance' in cpu-partitioning - Rebase check_for_cpupower.patch to apply cleanly again - Version update to 2.9.0: * python3 porting start * various small fixes - Drop patches merged upstream: * fix-desktop-category.patch * remove-unnecessary-shebangs.patch * fix-glade-file-permission.patch - Switch to autopatch from calling all individual patchlines - Switch to python3 and format with spec-cleaner - Switch to normal url fetching, there is no actual reason to run service in order to generate the versioned tarballs OBS-URL: https://build.opensuse.org/request/show/593952 OBS-URL: https://build.opensuse.org/package/show/Base:System/tuned?expand=0&rev=50
2018-04-06 14:42:13 +02:00
%exclude %{python3_sitelib}/tuned/gtk
%{python3_sitelib}/tuned
%{_sbindir}/tuned
%{_sbindir}/tuned-adm
%{_sbindir}/rctuned
%exclude %{_sysconfdir}/tuned/realtime-variables.conf
%exclude %{_sysconfdir}/tuned/realtime-virtual-guest-variables.conf
%exclude %{_sysconfdir}/tuned/realtime-virtual-host-variables.conf
%exclude %{_libexecdir}/tuned/realtime-virtual-guest
%exclude %{_libexecdir}/tuned/realtime-virtual-host
%exclude %{_libexecdir}/tuned/sap-netweaver
%exclude %{_libexecdir}/tuned/sap-hana
%exclude %{_libexecdir}/tuned/sap-hana-vmware
%exclude %{_mandir}/man7/tuned-profiles-sap*.7.gz
%exclude %{_libexecdir}/tuned/atomic-host
%exclude %{_libexecdir}/tuned/atomic-guest
%exclude %{_libexecdir}/tuned/oracle
%exclude %{_libexecdir}/tuned/realtime
%exclude %{_libexecdir}/tuned/defirqaffinity*
%{_libexecdir}/tuned
# active_profile might be empty when built via build service, but typically
# not on a real install -> better do not mark it %%ghost
%config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/tuned/active_profile
%config(noreplace) %{_sysconfdir}/modprobe.d/tuned.conf
%config(noreplace) %{_sysconfdir}/tuned/cpu-partitioning-variables.conf
%config(noreplace) %{_sysconfdir}/tuned/tuned-main.conf
Accepting request 593952 from home:scarabeus_iv:branches:Base:System The only problem I have is that we now have some polkit rules to handle tuned from UI, someone from security team should review those (when I shadow it the package operates as expected). - Reintroduce the _service file as we must use git head in order to get all the python3 fixes in - Update to version 2.9.0+git20180328.d25e8b8: * makefile: dropped KVM unit tests, now provided by standalone package * sysctl: support assignment modifiers as other plugins do * spec: used weak deps for tuned-profiles-nfv-host-bin * Added requires to tuned-profiles-nfv-host-bin * Dropped tuned-profiles-nfv-host-bin subpackage * tuned: Add readahead comment to throughput-performance tuned.conf * oracle: fixed ip_local_port_range parity warning * Consistently use 'balance' instead of 'rebalance' in cpu-partitioning - Rebase check_for_cpupower.patch to apply cleanly again - Version update to 2.9.0: * python3 porting start * various small fixes - Drop patches merged upstream: * fix-desktop-category.patch * remove-unnecessary-shebangs.patch * fix-glade-file-permission.patch - Switch to autopatch from calling all individual patchlines - Switch to python3 and format with spec-cleaner - Switch to normal url fetching, there is no actual reason to run service in order to generate the versioned tarballs OBS-URL: https://build.opensuse.org/request/show/593952 OBS-URL: https://build.opensuse.org/package/show/Base:System/tuned?expand=0&rev=50
2018-04-06 14:42:13 +02:00
%config(noreplace) %{_sysconfdir}/tuned/profile_mode
%config(noreplace) %{_sysconfdir}/tuned/sap-hana-vmware-variables.conf
%config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/tuned/bootcmdline
%dir %{_sysconfdir}/dbus-1
%dir %{_sysconfdir}/dbus-1/system.d
%config %{_sysconfdir}/dbus-1/system.d/com.redhat.tuned.conf
%{_sysconfdir}/grub.d
%{_tmpfilesdir}/tuned.conf
%{_unitdir}/tuned.service
%dir %{_localstatedir}/log/tuned
%dir %{_sysconfdir}/tuned
%{_mandir}/man5/tuned*
Accepting request 593952 from home:scarabeus_iv:branches:Base:System The only problem I have is that we now have some polkit rules to handle tuned from UI, someone from security team should review those (when I shadow it the package operates as expected). - Reintroduce the _service file as we must use git head in order to get all the python3 fixes in - Update to version 2.9.0+git20180328.d25e8b8: * makefile: dropped KVM unit tests, now provided by standalone package * sysctl: support assignment modifiers as other plugins do * spec: used weak deps for tuned-profiles-nfv-host-bin * Added requires to tuned-profiles-nfv-host-bin * Dropped tuned-profiles-nfv-host-bin subpackage * tuned: Add readahead comment to throughput-performance tuned.conf * oracle: fixed ip_local_port_range parity warning * Consistently use 'balance' instead of 'rebalance' in cpu-partitioning - Rebase check_for_cpupower.patch to apply cleanly again - Version update to 2.9.0: * python3 porting start * various small fixes - Drop patches merged upstream: * fix-desktop-category.patch * remove-unnecessary-shebangs.patch * fix-glade-file-permission.patch - Switch to autopatch from calling all individual patchlines - Switch to python3 and format with spec-cleaner - Switch to normal url fetching, there is no actual reason to run service in order to generate the versioned tarballs OBS-URL: https://build.opensuse.org/request/show/593952 OBS-URL: https://build.opensuse.org/package/show/Base:System/tuned?expand=0&rev=50
2018-04-06 14:42:13 +02:00
%{_mandir}/man7/tuned-profiles-cpu-partitioning.7%{?ext_man}
%{_mandir}/man7/tuned-profiles.7%{?ext_man}
%{_mandir}/man7/tuned-profiles-mssql.7%{?ext_man}
%{_mandir}/man8/tuned*
%dir %{_datadir}/tuned
%ghost %dir /run/tuned
%{_prefix}/lib/kernel/install.d/92-tuned.install
%files gtk
Accepting request 593952 from home:scarabeus_iv:branches:Base:System The only problem I have is that we now have some polkit rules to handle tuned from UI, someone from security team should review those (when I shadow it the package operates as expected). - Reintroduce the _service file as we must use git head in order to get all the python3 fixes in - Update to version 2.9.0+git20180328.d25e8b8: * makefile: dropped KVM unit tests, now provided by standalone package * sysctl: support assignment modifiers as other plugins do * spec: used weak deps for tuned-profiles-nfv-host-bin * Added requires to tuned-profiles-nfv-host-bin * Dropped tuned-profiles-nfv-host-bin subpackage * tuned: Add readahead comment to throughput-performance tuned.conf * oracle: fixed ip_local_port_range parity warning * Consistently use 'balance' instead of 'rebalance' in cpu-partitioning - Rebase check_for_cpupower.patch to apply cleanly again - Version update to 2.9.0: * python3 porting start * various small fixes - Drop patches merged upstream: * fix-desktop-category.patch * remove-unnecessary-shebangs.patch * fix-glade-file-permission.patch - Switch to autopatch from calling all individual patchlines - Switch to python3 and format with spec-cleaner - Switch to normal url fetching, there is no actual reason to run service in order to generate the versioned tarballs OBS-URL: https://build.opensuse.org/request/show/593952 OBS-URL: https://build.opensuse.org/package/show/Base:System/tuned?expand=0&rev=50
2018-04-06 14:42:13 +02:00
%dir %{_datadir}/icons/hicolor
%dir %{_datadir}/icons/hicolor/*/
%dir %{_datadir}/icons/hicolor/*/apps
%{_datadir}/icons/hicolor/*/apps/*
%{_datadir}/applications/tuned-gui.desktop
%{_sbindir}/tuned-gui
Accepting request 593952 from home:scarabeus_iv:branches:Base:System The only problem I have is that we now have some polkit rules to handle tuned from UI, someone from security team should review those (when I shadow it the package operates as expected). - Reintroduce the _service file as we must use git head in order to get all the python3 fixes in - Update to version 2.9.0+git20180328.d25e8b8: * makefile: dropped KVM unit tests, now provided by standalone package * sysctl: support assignment modifiers as other plugins do * spec: used weak deps for tuned-profiles-nfv-host-bin * Added requires to tuned-profiles-nfv-host-bin * Dropped tuned-profiles-nfv-host-bin subpackage * tuned: Add readahead comment to throughput-performance tuned.conf * oracle: fixed ip_local_port_range parity warning * Consistently use 'balance' instead of 'rebalance' in cpu-partitioning - Rebase check_for_cpupower.patch to apply cleanly again - Version update to 2.9.0: * python3 porting start * various small fixes - Drop patches merged upstream: * fix-desktop-category.patch * remove-unnecessary-shebangs.patch * fix-glade-file-permission.patch - Switch to autopatch from calling all individual patchlines - Switch to python3 and format with spec-cleaner - Switch to normal url fetching, there is no actual reason to run service in order to generate the versioned tarballs OBS-URL: https://build.opensuse.org/request/show/593952 OBS-URL: https://build.opensuse.org/package/show/Base:System/tuned?expand=0&rev=50
2018-04-06 14:42:13 +02:00
%{python3_sitelib}/tuned/gtk
%{_datadir}/tuned/ui
%{_datadir}/polkit-1/actions/com.redhat.tuned.gui.policy
%if !0%{?sle_version}
%files profiles-sap
%{_libexecdir}/tuned/sap-netweaver
Accepting request 593952 from home:scarabeus_iv:branches:Base:System The only problem I have is that we now have some polkit rules to handle tuned from UI, someone from security team should review those (when I shadow it the package operates as expected). - Reintroduce the _service file as we must use git head in order to get all the python3 fixes in - Update to version 2.9.0+git20180328.d25e8b8: * makefile: dropped KVM unit tests, now provided by standalone package * sysctl: support assignment modifiers as other plugins do * spec: used weak deps for tuned-profiles-nfv-host-bin * Added requires to tuned-profiles-nfv-host-bin * Dropped tuned-profiles-nfv-host-bin subpackage * tuned: Add readahead comment to throughput-performance tuned.conf * oracle: fixed ip_local_port_range parity warning * Consistently use 'balance' instead of 'rebalance' in cpu-partitioning - Rebase check_for_cpupower.patch to apply cleanly again - Version update to 2.9.0: * python3 porting start * various small fixes - Drop patches merged upstream: * fix-desktop-category.patch * remove-unnecessary-shebangs.patch * fix-glade-file-permission.patch - Switch to autopatch from calling all individual patchlines - Switch to python3 and format with spec-cleaner - Switch to normal url fetching, there is no actual reason to run service in order to generate the versioned tarballs OBS-URL: https://build.opensuse.org/request/show/593952 OBS-URL: https://build.opensuse.org/package/show/Base:System/tuned?expand=0&rev=50
2018-04-06 14:42:13 +02:00
%{_mandir}/man7/tuned-profiles-sap.7%{?ext_man}
%files profiles-sap-hana
%{_libexecdir}/tuned/sap-hana
%{_libexecdir}/tuned/sap-hana-vmware
Accepting request 593952 from home:scarabeus_iv:branches:Base:System The only problem I have is that we now have some polkit rules to handle tuned from UI, someone from security team should review those (when I shadow it the package operates as expected). - Reintroduce the _service file as we must use git head in order to get all the python3 fixes in - Update to version 2.9.0+git20180328.d25e8b8: * makefile: dropped KVM unit tests, now provided by standalone package * sysctl: support assignment modifiers as other plugins do * spec: used weak deps for tuned-profiles-nfv-host-bin * Added requires to tuned-profiles-nfv-host-bin * Dropped tuned-profiles-nfv-host-bin subpackage * tuned: Add readahead comment to throughput-performance tuned.conf * oracle: fixed ip_local_port_range parity warning * Consistently use 'balance' instead of 'rebalance' in cpu-partitioning - Rebase check_for_cpupower.patch to apply cleanly again - Version update to 2.9.0: * python3 porting start * various small fixes - Drop patches merged upstream: * fix-desktop-category.patch * remove-unnecessary-shebangs.patch * fix-glade-file-permission.patch - Switch to autopatch from calling all individual patchlines - Switch to python3 and format with spec-cleaner - Switch to normal url fetching, there is no actual reason to run service in order to generate the versioned tarballs OBS-URL: https://build.opensuse.org/request/show/593952 OBS-URL: https://build.opensuse.org/package/show/Base:System/tuned?expand=0&rev=50
2018-04-06 14:42:13 +02:00
%{_mandir}/man7/tuned-profiles-sap-hana.7%{?ext_man}
%endif
%files profiles-atomic
%{_libexecdir}/tuned/atomic-host
%{_libexecdir}/tuned/atomic-guest
Accepting request 593952 from home:scarabeus_iv:branches:Base:System The only problem I have is that we now have some polkit rules to handle tuned from UI, someone from security team should review those (when I shadow it the package operates as expected). - Reintroduce the _service file as we must use git head in order to get all the python3 fixes in - Update to version 2.9.0+git20180328.d25e8b8: * makefile: dropped KVM unit tests, now provided by standalone package * sysctl: support assignment modifiers as other plugins do * spec: used weak deps for tuned-profiles-nfv-host-bin * Added requires to tuned-profiles-nfv-host-bin * Dropped tuned-profiles-nfv-host-bin subpackage * tuned: Add readahead comment to throughput-performance tuned.conf * oracle: fixed ip_local_port_range parity warning * Consistently use 'balance' instead of 'rebalance' in cpu-partitioning - Rebase check_for_cpupower.patch to apply cleanly again - Version update to 2.9.0: * python3 porting start * various small fixes - Drop patches merged upstream: * fix-desktop-category.patch * remove-unnecessary-shebangs.patch * fix-glade-file-permission.patch - Switch to autopatch from calling all individual patchlines - Switch to python3 and format with spec-cleaner - Switch to normal url fetching, there is no actual reason to run service in order to generate the versioned tarballs OBS-URL: https://build.opensuse.org/request/show/593952 OBS-URL: https://build.opensuse.org/package/show/Base:System/tuned?expand=0&rev=50
2018-04-06 14:42:13 +02:00
%{_mandir}/man7/tuned-profiles-atomic.7%{?ext_man}
%files profiles-realtime
%config(noreplace) %{_sysconfdir}/tuned/realtime-variables.conf
%{_libexecdir}/tuned/realtime
Accepting request 593952 from home:scarabeus_iv:branches:Base:System The only problem I have is that we now have some polkit rules to handle tuned from UI, someone from security team should review those (when I shadow it the package operates as expected). - Reintroduce the _service file as we must use git head in order to get all the python3 fixes in - Update to version 2.9.0+git20180328.d25e8b8: * makefile: dropped KVM unit tests, now provided by standalone package * sysctl: support assignment modifiers as other plugins do * spec: used weak deps for tuned-profiles-nfv-host-bin * Added requires to tuned-profiles-nfv-host-bin * Dropped tuned-profiles-nfv-host-bin subpackage * tuned: Add readahead comment to throughput-performance tuned.conf * oracle: fixed ip_local_port_range parity warning * Consistently use 'balance' instead of 'rebalance' in cpu-partitioning - Rebase check_for_cpupower.patch to apply cleanly again - Version update to 2.9.0: * python3 porting start * various small fixes - Drop patches merged upstream: * fix-desktop-category.patch * remove-unnecessary-shebangs.patch * fix-glade-file-permission.patch - Switch to autopatch from calling all individual patchlines - Switch to python3 and format with spec-cleaner - Switch to normal url fetching, there is no actual reason to run service in order to generate the versioned tarballs OBS-URL: https://build.opensuse.org/request/show/593952 OBS-URL: https://build.opensuse.org/package/show/Base:System/tuned?expand=0&rev=50
2018-04-06 14:42:13 +02:00
%{_mandir}/man7/tuned-profiles-realtime.7%{?ext_man}
%files profiles-oracle
%{_libexecdir}/tuned/oracle
Accepting request 593952 from home:scarabeus_iv:branches:Base:System The only problem I have is that we now have some polkit rules to handle tuned from UI, someone from security team should review those (when I shadow it the package operates as expected). - Reintroduce the _service file as we must use git head in order to get all the python3 fixes in - Update to version 2.9.0+git20180328.d25e8b8: * makefile: dropped KVM unit tests, now provided by standalone package * sysctl: support assignment modifiers as other plugins do * spec: used weak deps for tuned-profiles-nfv-host-bin * Added requires to tuned-profiles-nfv-host-bin * Dropped tuned-profiles-nfv-host-bin subpackage * tuned: Add readahead comment to throughput-performance tuned.conf * oracle: fixed ip_local_port_range parity warning * Consistently use 'balance' instead of 'rebalance' in cpu-partitioning - Rebase check_for_cpupower.patch to apply cleanly again - Version update to 2.9.0: * python3 porting start * various small fixes - Drop patches merged upstream: * fix-desktop-category.patch * remove-unnecessary-shebangs.patch * fix-glade-file-permission.patch - Switch to autopatch from calling all individual patchlines - Switch to python3 and format with spec-cleaner - Switch to normal url fetching, there is no actual reason to run service in order to generate the versioned tarballs OBS-URL: https://build.opensuse.org/request/show/593952 OBS-URL: https://build.opensuse.org/package/show/Base:System/tuned?expand=0&rev=50
2018-04-06 14:42:13 +02:00
%{_mandir}/man7/tuned-profiles-oracle.7%{?ext_man}
%files profiles-nfv
%config(noreplace) %{_sysconfdir}/tuned/realtime-virtual-guest-variables.conf
%config(noreplace) %{_sysconfdir}/tuned/realtime-virtual-host-variables.conf
%{_libexecdir}/tuned/realtime-virtual-guest
%{_libexecdir}/tuned/realtime-virtual-host
%{_libexecdir}/tuned/defirqaffinity*
Accepting request 593952 from home:scarabeus_iv:branches:Base:System The only problem I have is that we now have some polkit rules to handle tuned from UI, someone from security team should review those (when I shadow it the package operates as expected). - Reintroduce the _service file as we must use git head in order to get all the python3 fixes in - Update to version 2.9.0+git20180328.d25e8b8: * makefile: dropped KVM unit tests, now provided by standalone package * sysctl: support assignment modifiers as other plugins do * spec: used weak deps for tuned-profiles-nfv-host-bin * Added requires to tuned-profiles-nfv-host-bin * Dropped tuned-profiles-nfv-host-bin subpackage * tuned: Add readahead comment to throughput-performance tuned.conf * oracle: fixed ip_local_port_range parity warning * Consistently use 'balance' instead of 'rebalance' in cpu-partitioning - Rebase check_for_cpupower.patch to apply cleanly again - Version update to 2.9.0: * python3 porting start * various small fixes - Drop patches merged upstream: * fix-desktop-category.patch * remove-unnecessary-shebangs.patch * fix-glade-file-permission.patch - Switch to autopatch from calling all individual patchlines - Switch to python3 and format with spec-cleaner - Switch to normal url fetching, there is no actual reason to run service in order to generate the versioned tarballs OBS-URL: https://build.opensuse.org/request/show/593952 OBS-URL: https://build.opensuse.org/package/show/Base:System/tuned?expand=0&rev=50
2018-04-06 14:42:13 +02:00
%{_mandir}/man7/tuned-profiles-nfv-*.7%{?ext_man}
%files utils
Accepting request 593952 from home:scarabeus_iv:branches:Base:System The only problem I have is that we now have some polkit rules to handle tuned from UI, someone from security team should review those (when I shadow it the package operates as expected). - Reintroduce the _service file as we must use git head in order to get all the python3 fixes in - Update to version 2.9.0+git20180328.d25e8b8: * makefile: dropped KVM unit tests, now provided by standalone package * sysctl: support assignment modifiers as other plugins do * spec: used weak deps for tuned-profiles-nfv-host-bin * Added requires to tuned-profiles-nfv-host-bin * Dropped tuned-profiles-nfv-host-bin subpackage * tuned: Add readahead comment to throughput-performance tuned.conf * oracle: fixed ip_local_port_range parity warning * Consistently use 'balance' instead of 'rebalance' in cpu-partitioning - Rebase check_for_cpupower.patch to apply cleanly again - Version update to 2.9.0: * python3 porting start * various small fixes - Drop patches merged upstream: * fix-desktop-category.patch * remove-unnecessary-shebangs.patch * fix-glade-file-permission.patch - Switch to autopatch from calling all individual patchlines - Switch to python3 and format with spec-cleaner - Switch to normal url fetching, there is no actual reason to run service in order to generate the versioned tarballs OBS-URL: https://build.opensuse.org/request/show/593952 OBS-URL: https://build.opensuse.org/package/show/Base:System/tuned?expand=0&rev=50
2018-04-06 14:42:13 +02:00
%license COPYING
%{_bindir}/powertop2tuned
%files utils-systemtap
Accepting request 593952 from home:scarabeus_iv:branches:Base:System The only problem I have is that we now have some polkit rules to handle tuned from UI, someone from security team should review those (when I shadow it the package operates as expected). - Reintroduce the _service file as we must use git head in order to get all the python3 fixes in - Update to version 2.9.0+git20180328.d25e8b8: * makefile: dropped KVM unit tests, now provided by standalone package * sysctl: support assignment modifiers as other plugins do * spec: used weak deps for tuned-profiles-nfv-host-bin * Added requires to tuned-profiles-nfv-host-bin * Dropped tuned-profiles-nfv-host-bin subpackage * tuned: Add readahead comment to throughput-performance tuned.conf * oracle: fixed ip_local_port_range parity warning * Consistently use 'balance' instead of 'rebalance' in cpu-partitioning - Rebase check_for_cpupower.patch to apply cleanly again - Version update to 2.9.0: * python3 porting start * various small fixes - Drop patches merged upstream: * fix-desktop-category.patch * remove-unnecessary-shebangs.patch * fix-glade-file-permission.patch - Switch to autopatch from calling all individual patchlines - Switch to python3 and format with spec-cleaner - Switch to normal url fetching, there is no actual reason to run service in order to generate the versioned tarballs OBS-URL: https://build.opensuse.org/request/show/593952 OBS-URL: https://build.opensuse.org/package/show/Base:System/tuned?expand=0&rev=50
2018-04-06 14:42:13 +02:00
%license COPYING
%doc doc/README.utils doc/README.scomes
%{_sbindir}/varnetload
%{_sbindir}/netdevstat
%{_sbindir}/diskdevstat
%{_sbindir}/scomes
%{_mandir}/man8/varnetload.*
%{_mandir}/man8/netdevstat.*
%{_mandir}/man8/diskdevstat.*
%{_mandir}/man8/scomes.*
%changelog