diff --git a/SPECS/kmod-mlx4.spec b/SPECS/kmod-mlx4.spec index ae8af8d..4a59dd8 100644 --- a/SPECS/kmod-mlx4.spec +++ b/SPECS/kmod-mlx4.spec @@ -56,6 +56,11 @@ Requires(post): %{_sbindir}/weak-modules Requires(postun): %{_sbindir}/weak-modules +%if "%{version}" == "5.14.0.1" && "%{release}" == "10%{?dist}" +Obsoletes: kmod-%{pkg} = %{?epoch:%{epoch}:}%{version}-9%{?dist} +%endif + + %description This package provides the Mellanos ConnectX HCA (%{pkg}) driver. Compared to the in-kernel driver this driver re-enables support for deprecated Mellanox