From a38e4207e90abb5b510a2bbf37d2dd7719d66b12 Mon Sep 17 00:00:00 2001 From: Peter Georg Date: Jan 27 2022 14:10:49 +0000 Subject: Add obsoletes for update path --- diff --git a/SPECS/kmod-lpfc.spec b/SPECS/kmod-lpfc.spec index b149390..0350f18 100644 --- a/SPECS/kmod-lpfc.spec +++ b/SPECS/kmod-lpfc.spec @@ -55,6 +55,11 @@ Requires(post): %{_sbindir}/weak-modules Requires(postun): %{_sbindir}/weak-modules +%if "%{version}" == "5.14.0.34" && "%{release}" == "9%{?dist}" +Obsoletes: kmod-%{pkg} = %{?epoch:%{epoch}:}%{version}-8%{?dist} +%endif + + %description This package provides the Emulex LightPulse Fibre Channel SCSI (%{pkg}) driver. Compared to the in-kernel driver this driver re-enables support for some