1. Fix obsolete warning

2. Fix files list twice warning

Signed-off-by: Cao Jingbo <caojb@chinatelecom.cn>
This commit is contained in:
Cao Jingbo 2023-01-28 11:19:39 +08:00
parent 9a3f5427d3
commit b4db45de35

View File

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