diff --git a/SPECS/kmod-be2iscsi.spec b/SPECS/kmod-be2iscsi.spec index 263072e..c19ff2f 100644 --- a/SPECS/kmod-be2iscsi.spec +++ b/SPECS/kmod-be2iscsi.spec @@ -21,7 +21,7 @@ Name: kmod-%{pkg} Version: 4.18.0.358 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Emulex OneConnectOpen-iSCSI (%{pkg}) driver License: GPLv2 @@ -60,6 +60,16 @@ Requires(post): %{_sbindir}/weak-modules Requires(postun): %{_sbindir}/weak-modules +%if "%{version}" == "4.18.0.358" && "%{release}" == "2%{?dist}" +Obsoletes: kmod-%{pkg} = %{?epoch:%{epoch}:}%{version}-1%{?dist} +%endif + +%if "%{version}" == "4.18.0.358" && "%{release}" == "3%{?dist}" +Obsoletes: kmod-%{pkg} = %{?epoch:%{epoch}:}%{version}-1%{?dist} +Obsoletes: kmod-%{pkg} = %{?epoch:%{epoch}:}%{version}-2%{?dist} +%endif + + %description This package provides the Emulex OneConnectOpen-iSCSI (%{pkg}) driver. Compared to the in-kernel driver this driver re-enables support for deprecated @@ -146,6 +156,9 @@ fi %changelog +* Thu Jan 27 2022 Peter Georg - 4.18.0.358-3 +- Add obsoletes for update path + * Sat Jan 22 2022 Peter Georg - 4.18.0.358-2 - Enable ppc64le