From fd78c5ee89082023fe8b14d14e9277d0de5a7469 Mon Sep 17 00:00:00 2001 From: Peter Georg Date: Jan 27 2022 13:55:13 +0000 Subject: Add obsoletes for update path --- diff --git a/SPECS/kmod-mptspi.spec b/SPECS/kmod-mptspi.spec index b675b2c..786f34d 100644 --- a/SPECS/kmod-mptspi.spec +++ b/SPECS/kmod-mptspi.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 Fusion MPT SPI Host (%{pkg}) driver. Compared to the in-kernel driver this driver is not restricted to the virtualization use case.