diff --git a/SPECS/kmod-mvsas.spec b/SPECS/kmod-mvsas.spec index 6b681d3..d19a3d1 100644 --- a/SPECS/kmod-mvsas.spec +++ b/SPECS/kmod-mvsas.spec @@ -21,7 +21,7 @@ Name: kmod-%{pkg} Version: 4.18.0.80 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Marvell 88SE64XX/88SE94XX SAS/SATA Controller (%{pkg}) driver License: GPLv2 @@ -59,6 +59,22 @@ Requires(post): %{_sbindir}/weak-modules Requires(postun): %{_sbindir}/weak-modules +%if "%{version}" == "4.18.0.80" && "%{release}" == "3%{?dist}" +Obsoletes: kmod-%{pkg} = %{?epoch:%{epoch}:}%{version}-2%{?dist} +%endif + +%if "%{version}" == "4.18.0.80" && "%{release}" == "4%{?dist}" +Obsoletes: kmod-%{pkg} = %{?epoch:%{epoch}:}%{version}-2%{?dist} +Obsoletes: kmod-%{pkg} = %{?epoch:%{epoch}:}%{version}-3%{?dist} +%endif + +%if "%{version}" == "4.18.0.80" && "%{release}" == "5%{?dist}" +Obsoletes: kmod-%{pkg} = %{?epoch:%{epoch}:}%{version}-2%{?dist} +Obsoletes: kmod-%{pkg} = %{?epoch:%{epoch}:}%{version}-3%{?dist} +Obsoletes: kmod-%{pkg} = %{?epoch:%{epoch}:}%{version}-4%{?dist} +%endif + + %description This driver supports Marvell's SAS/SATA 3Gb/s 88SE64XX and 6Gb/s 88SE94XX chip based PCI-E host adapters. @@ -127,6 +143,9 @@ fi %changelog +* Thu Jan 27 2022 Peter Georg - 4.18.0.80-5 +- Add obsoletes for update path + * Wed Jan 26 2022 Peter Georg - 4.18.0.80-4 - Drop dracut conf