From 305263a9ed9ee6de2ed49ce7bfceb16a193d37ce Mon Sep 17 00:00:00 2001 From: Peter Georg Date: Jan 27 2022 19:09:44 +0000 Subject: Add obsoletes for update path --- diff --git a/SPECS/kmod-isci.spec b/SPECS/kmod-isci.spec index dfda69b..3f90a58 100644 --- a/SPECS/kmod-isci.spec +++ b/SPECS/kmod-isci.spec @@ -55,6 +55,11 @@ Requires(post): %{_sbindir}/weak-modules Requires(postun): %{_sbindir}/weak-modules +%if "%{version}" == "5.14.0.1" && "%{release}" == "11%{?dist}" +Obsoletes: kmod-%{pkg} = %{?epoch:%{epoch}:}%{version}-10%{?dist} +%endif + + %description This driver supports the 6Gb/s SAS capabilities of the storage control unit found in the Intel(R) C600 series chipset. Supported devices: