From cfd8b32e1aa8bf88b3b8c5d20adeb54b796249dc Mon Sep 17 00:00:00 2001 From: Peter Georg Date: Jan 27 2022 13:55:11 +0000 Subject: Add obsoletes for update path --- diff --git a/SPECS/kmod-mpt3sas.spec b/SPECS/kmod-mpt3sas.spec index a1023d1..5ab31fc 100644 --- a/SPECS/kmod-mpt3sas.spec +++ b/SPECS/kmod-mpt3sas.spec @@ -55,6 +55,11 @@ Requires(post): %{_sbindir}/weak-modules Requires(postun): %{_sbindir}/weak-modules +%if "%{version}" == "5.14.0.24" && "%{release}" == "10%{?dist}" +Obsoletes: kmod-%{pkg} = %{?epoch:%{epoch}:}%{version}-9%{?dist} +%endif + + %description This package provides the LSI MPT Fusion SAS 3.0 Device (%{pkg}) driver. Compared to the in-kernel driver this driver re-enables support for deprecated