From f657752f1c6a46cfb0365e01350c667932d6823e Mon Sep 17 00:00:00 2001 From: Peter Georg Date: Jan 27 2022 13:55:05 +0000 Subject: Add obsoletes for update path --- diff --git a/SPECS/kmod-aacraid.spec b/SPECS/kmod-aacraid.spec index 27b9a7b..9140722 100644 --- a/SPECS/kmod-aacraid.spec +++ b/SPECS/kmod-aacraid.spec @@ -55,6 +55,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 Dell PERC2, 2/Si, 3/Si, 3/Di, Adaptec Advanced Raid Products, HP NetRAID-4M, IBM ServeRAID & ICP SCSI driver (%{pkg}) driver.