From 1659b65b37fca5fc94a56cf0022698a7c1749ad3 Mon Sep 17 00:00:00 2001 From: Sergey Zhemoytel Date: Sun, 9 Jun 2024 11:39:18 +0000 Subject: [PATCH] 2.23.0 --- tuned.rpmlintrc | 2 ++ tuned.spec | 25 +++++++++++++------------ 2 files changed, 15 insertions(+), 12 deletions(-) create mode 100644 tuned.rpmlintrc diff --git a/tuned.rpmlintrc b/tuned.rpmlintrc new file mode 100644 index 0000000..53db3f0 --- /dev/null +++ b/tuned.rpmlintrc @@ -0,0 +1,2 @@ +addFilter("E: zero-length") +addFilter("E: hardcoded-library-path") diff --git a/tuned.spec b/tuned.spec index 3bc5471..b994ce4 100644 --- a/tuned.spec +++ b/tuned.spec @@ -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