Add obsoletes for kernel-tools packages

This commit is contained in:
Andrew Lukoshko 2024-09-04 07:54:53 +00:00
parent f44dc6f4ea
commit b4c96c3080

View File

@ -100,6 +100,7 @@ Obsoletes: cpufreq-utils < 1:009-0.6.p1
Obsoletes: cpufrequtils < 1:009-0.6.p1 Obsoletes: cpufrequtils < 1:009-0.6.p1
Obsoletes: cpuspeed < 1:1.5-16 Obsoletes: cpuspeed < 1:1.5-16
Requires: %{name}-kernel%{?ksuffix}-tools-libs = %{version}-%{release} Requires: %{name}-kernel%{?ksuffix}-tools-libs = %{version}-%{release}
Obsoletes: kernel-tools < %{version}
Provides: kernel-tools = %{version}-%{release} Provides: kernel-tools = %{version}-%{release}
%define __requires_exclude ^%{_bindir}/python %define __requires_exclude ^%{_bindir}/python
%description kernel%{?ksuffix}-tools %description kernel%{?ksuffix}-tools
@ -108,6 +109,7 @@ and the supporting documentation.
%package kernel%{?ksuffix}-tools-libs %package kernel%{?ksuffix}-tools-libs
Summary: Libraries for the kernels-tools Summary: Libraries for the kernels-tools
Obsoletes: kernel-tools-libs < %{version}
Provides: kernel-tools-libs = %{version}-%{release} Provides: kernel-tools-libs = %{version}-%{release}
%description kernel%{?ksuffix}-tools-libs %description kernel%{?ksuffix}-tools-libs
This package contains the libraries built from the tools/ directory This package contains the libraries built from the tools/ directory
@ -119,6 +121,7 @@ Requires: %{name}-kernel%{?ksuffix}-tools = %{version}-%{release}
Provides: cpupowerutils-devel = 1:009-0.6.p1 Provides: cpupowerutils-devel = 1:009-0.6.p1
Obsoletes: cpupowerutils-devel < 1:009-0.6.p1 Obsoletes: cpupowerutils-devel < 1:009-0.6.p1
Requires: %{name}-kernel%{?ksuffix}-tools-libs = %{version}-%{release} Requires: %{name}-kernel%{?ksuffix}-tools-libs = %{version}-%{release}
Obsoletes: kernel-tools-libs-devel < %{version}
Provides: kernel-tools-libs-devel = %{version}-%{release} Provides: kernel-tools-libs-devel = %{version}-%{release}
%description kernel%{?ksuffix}-tools-libs-devel %description kernel%{?ksuffix}-tools-libs-devel
This package contains the development files for the tools/ directory from This package contains the development files for the tools/ directory from