diff --git a/tuned.spec b/tuned.spec index 3049853d22d2ee2c2dd8f44f6db4704563034e80..12953d90a34855bda3bf96f86945ae6300674789 100644 --- a/tuned.spec +++ b/tuned.spec @@ -1,7 +1,7 @@ Summary: A system tuning service for Linux Name: tuned Version: 2.19.0 -Release: 3 +Release: 4 License: GPLv2+ Source0: https://github.com/redhat-performance/%{name}/archive/v%{version}%{?prerel2}.tar.gz#/%{name}-%{version}%{?prerel2}.tar.gz URL: http://www.tuned-project.org/ @@ -35,29 +35,29 @@ Patch1: tuned-2.18.0-rhel-8-profiles.patch Patch2: tuned-2.18.0-sd-load-balance.patch Patch3: change-the-default-percentage-when-dirty-data-starts.patch -Provides: tuned-gtk -Provides: tuned-utils -Provides: tuned-profiles-sap -Provides: tuned-profiles-mssql -Provides: tuned-profiles-oracle -Provides: tuned-profiles-sap-hana -Provides: tuned-profiles-atomic -Provides: tuned-profiles-nfv -Provides: tuned-profiles-cpu-partitioning -Provides: tuned-profiles-compat -Provides: tuned-utils-systemtap - -Obsoletes: tuned-gtk -Obsoletes: tuned-utils -Obsoletes: tuned-profiles-sap -Obsoletes: tuned-profiles-mssql -Obsoletes: tuned-profiles-oracle -Obsoletes: tuned-profiles-sap-hana -Obsoletes: tuned-profiles-atomic -Obsoletes: tuned-profiles-nfv -Obsoletes: tuned-profiles-cpu-partitioning -Obsoletes: tuned-profiles-compat -Obsoletes: tuned-utils-systemtap +Provides: tuned-gtk = %{version}-%{release} +Provides: tuned-utils = %{version}-%{release} +Provides: tuned-profiles-sap = %{version}-%{release} +Provides: tuned-profiles-mssql = %{version}-%{release} +Provides: tuned-profiles-oracle = %{version}-%{release} +Provides: tuned-profiles-sap-hana = %{version}-%{release} +Provides: tuned-profiles-atomic = %{version}-%{release} +Provides: tuned-profiles-nfv = %{version}-%{release} +Provides: tuned-profiles-cpu-partitioning = %{version}-%{release} +Provides: tuned-profiles-compat = %{version}-%{release} +Provides: tuned-utils-systemtap = %{version}-%{release} + +Obsoletes: tuned-gtk < %{version}-%{release} +Obsoletes: tuned-utils < %{version}-%{release} +Obsoletes: tuned-profiles-sap < %{version}-%{release} +Obsoletes: tuned-profiles-mssql < %{version}-%{release} +Obsoletes: tuned-profiles-oracle < %{version}-%{release} +Obsoletes: tuned-profiles-sap-hana < %{version}-%{release} +Obsoletes: tuned-profiles-atomic < %{version}-%{release} +Obsoletes: tuned-profiles-nfv < %{version}-%{release} +Obsoletes: tuned-profiles-cpu-partitioning < %{version}-%{release} +Obsoletes: tuned-profiles-compat < %{version}-%{release} +Obsoletes: tuned-utils-systemtap < %{version}-%{release} %description Tuned is a daemon that uses udev to monitor connected devices and @@ -128,13 +128,13 @@ Requires: tuna Recommends: tuned-profiles-nfv-host-bin -Provides: tuned-profiles-realtime -Provides: tuned-profiles-nfv-guest -Provides: tuned-profiles-nfv-host +Provides: tuned-profiles-realtime = %{version}-%{release} +Provides: tuned-profiles-nfv-guest = %{version}-%{release} +Provides: tuned-profiles-nfv-host = %{version}-%{release} -Obsoletes: tuned-profiles-realtime -Obsoletes: tuned-profiles-nfv-guest -Obsoletes: tuned-profiles-nfv-host +Obsoletes: tuned-profiles-realtime < %{version}-%{release} +Obsoletes: tuned-profiles-nfv-guest < %{version}-%{release} +Obsoletes: tuned-profiles-nfv-host < %{version}-%{release} %description profiles-devel Man pages and other related documents for %{name} @@ -218,10 +218,6 @@ fi %files %doc %{docdir} -%doc %{docdir}/README.NFV -%doc doc/README.utils -%doc doc/README.scomes -%doc COPYING %dir %{_datadir}/%{name} %dir %{_sysconfdir}/%{name} %dir %{_sysconfdir}/%{name}/recommend.d @@ -257,7 +253,6 @@ fi %{_bindir}/powertop2%{name} %{_libexecdir}/%{name}/defirqaffinity* %{_libexecdir}/%{name}/pmqos-static* -%{python3_sitelib}/%{name}/gtk %{python3_sitelib}/%{name} %{_sysconfdir}/dbus-1/system.d/com.redhat.%{name}.conf %verify(not size mtime md5) %{_sysconfdir}/modprobe.d/%{name}.conf @@ -297,6 +292,10 @@ fi %{_mandir}/man7/tuned-profiles-spectrumscale-ece.7* %changelog +* Sat Jan 28 2023 Cao Jingbo - 2.19.0-4 +- Fix files list twice warning. +- Fix obsolete warning. + * Mon Dec 26 2022 hongrongxuan - 2.19.0-3 - change the default percentage when dirty data starts writeback