From 527cddab3184c1b4141fe3620016c01273387c7a Mon Sep 17 00:00:00 2001 From: Peter Georg Date: Jan 27 2022 15:03:05 +0000 Subject: Add obsoletes for update path --- diff --git a/SPECS/kmod-isci.spec b/SPECS/kmod-isci.spec index 98b9aea..ec070e1 100644 --- a/SPECS/kmod-isci.spec +++ b/SPECS/kmod-isci.spec @@ -21,7 +21,7 @@ Name: kmod-%{pkg} Version: 4.18.0.257 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Intel(R) C600 Series Chipset SAS Controller (%{pkg}) driver License: GPLv2 and (BSD or GPLv2) @@ -59,6 +59,16 @@ Requires(post): %{_sbindir}/weak-modules Requires(postun): %{_sbindir}/weak-modules +%if "%{version}" == "4.18.0.257" && "%{release}" == "3%{?dist}" +Obsoletes: kmod-%{pkg} = %{?epoch:%{epoch}:}%{version}-2%{?dist} +%endif + +%if "%{version}" == "4.18.0.257" && "%{release}" == "4%{?dist}" +Obsoletes: kmod-%{pkg} = %{?epoch:%{epoch}:}%{version}-2%{?dist} +Obsoletes: kmod-%{pkg} = %{?epoch:%{epoch}:}%{version}-3%{?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: @@ -140,6 +150,9 @@ fi %changelog +* Thu Jan 27 2022 Peter Georg - 4.18.0.257-4 +- Add obsoletes for update path + * Wed Jan 26 2022 Peter Georg - 4.18.0.257-3 - Drop dracut conf