diff --git a/SPECS/kmod-mptsas.spec b/SPECS/kmod-mptsas.spec index c2f6369..d92a9ad 100644 --- a/SPECS/kmod-mptsas.spec +++ b/SPECS/kmod-mptsas.spec @@ -21,7 +21,7 @@ Name: kmod-%{pkg} Version: 4.18.0.326 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Fusion MPT SAS Host (%{pkg}) driver License: GPLv2 @@ -59,6 +59,16 @@ Requires(post): %{_sbindir}/weak-modules Requires(postun): %{_sbindir}/weak-modules +%if "%{version}" == "4.18.0.326" && "%{release}" == "3%{?dist}" +Obsoletes: kmod-%{pkg} = %{?epoch:%{epoch}:}%{version}-2%{?dist} +%endif + +%if "%{version}" == "4.18.0.326" && "%{release}" == "4%{?dist}" +Obsoletes: kmod-%{pkg} = %{?epoch:%{epoch}:}%{version}-2%{?dist} +Obsoletes: kmod-%{pkg} = %{?epoch:%{epoch}:}%{version}-3%{?dist} +%endif + + %description This package provides the Fusion MPT SAS Host (%{pkg}) driver. Compared to the in-kernel driver this driver is not restricted to the virtualization use case. @@ -143,6 +153,9 @@ fi %changelog +* Thu Jan 27 2022 Peter Georg - 4.18.0.326-4 +- Add obsoletes for update path + * Sat Jan 22 2022 Peter Georg - 4.18.0.326-3 - Enable ppc64le