This commit is contained in:
Sergey Zhemoytel 2024-06-09 11:39:18 +00:00
parent 5b3483c8cf
commit 1659b65b37
2 changed files with 15 additions and 12 deletions

2
tuned.rpmlintrc Normal file
View file

@ -0,0 +1,2 @@
addFilter("E: zero-length")
addFilter("E: hardcoded-library-path")

View file

@ -10,6 +10,7 @@ Group: System/Kernel and hardware
URL: https://fedorahosted.org/tuned
Source0: https://github.com/redhat-performance/tuned/archive/v%{version}/%{name}-%{version}.tar.gz
Source1: governors.modules
Source1000: %{name}.rpmlintrc
Patch0: 0002-get-CPE-string-from-etc-os-release-rather-than-the-m.patch
BuildRequires: pkgconfig(python3)
BuildRequires: python3egg(six)
@ -40,7 +41,7 @@ power saving modes to adapt to the current usage. Currently only ethernet
network and ATA harddisk devices are implemented.
%files
%doc AUTHORS README doc/TIPS.txt
%doc AUTHORS COPYING README.md doc/TIPS.txt
%{_sysconfdir}/modprobe.preload.d/governors
%{_sysconfdir}/%{name}/cpu-partitioning-powersave-variables.conf
%{_datadir}/bash-completion/completions/tuned-adm
@ -68,13 +69,13 @@ network and ATA harddisk devices are implemented.
%config(noreplace) %{_sysconfdir}/tuned/realtime-virtual-guest-variables.conf
%config(noreplace) %{_sysconfdir}/tuned/realtime-virtual-host-variables.conf
%config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/tuned/post_loaded_profile
%{_sysconfdir}/dbus-1/system.d/com.redhat.tuned.conf
%{_datadir}/dbus-1/system.d/com.redhat.tuned.conf
%verify(not size mtime md5) %{_sysconfdir}/modprobe.d/tuned.conf
%{_tmpfilesdir}/tuned.conf
%{_unitdir}/tuned.service
%{_presetdir}/86-tuned.preset
#{_presetdir}/86-tuned.preset
%{_libexecdir}/tuned/defirqaffinity.py
%{_libexecdir}/tuned/__pycache__/defirqaffinity.*
#{_libexecdir}/tuned/__pycache__/defirqaffinity.*
%dir %{_localstatedir}/log/tuned
%dir /run/tuned
%{_mandir}/man5/tuned*
@ -132,13 +133,13 @@ Additional tuned profiles mainly for backward compatibility with tuned 1.0.
It can be also used to fine tune your system for specific scenarios.
%files profiles-compat
%{_prefix}/lib/tuned/default
%{_prefix}/lib/tuned/desktop-powersave
%{_prefix}/lib/tuned/laptop-ac-powersave
%{_prefix}/lib/tuned/server-powersave
%{_prefix}/lib/tuned/laptop-battery-powersave
%{_prefix}/lib/tuned/enterprise-storage
%{_prefix}/lib/tuned/spindown-disk
#{_prefix}/lib/tuned/default
#{_prefix}/lib/tuned/desktop-powersave
#{_prefix}/lib/tuned/laptop-ac-powersave
#{_prefix}/lib/tuned/server-powersave
#{_prefix}/lib/tuned/laptop-battery-powersave
#{_prefix}/lib/tuned/enterprise-storage
#{_prefix}/lib/tuned/spindown-disk
%{_mandir}/man7/tuned-profiles-compat.7*
#----------------------------------------------------------------------------
@ -156,7 +157,7 @@ debug your system and manage tuned profiles.
%files utils
%{_bindir}/powertop2tuned
%{_libexecdir}/tuned/pmqos-static*
%{_libexecdir}/tuned/__pycache__/pmqos-static*
#{_libexecdir}/tuned/__pycache__/pmqos-static*
#----------------------------------------------------------------------------
%package utils-systemtap