From b4dc07de8d3db57cc46a7dff22a31c0bc1874176 Mon Sep 17 00:00:00 2001 From: Peter Georg Date: Jan 27 2022 13:11:21 +0000 Subject: Add obsoletes for update path --- diff --git a/SPECS/kmod-exfat.spec b/SPECS/kmod-exfat.spec index 43616c7..a4cc6e8 100644 --- a/SPECS/kmod-exfat.spec +++ b/SPECS/kmod-exfat.spec @@ -21,7 +21,7 @@ Name: kmod-%{pkg} Version: 4.18.0.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: exFAT filesystem support License: GPLv2 and GPLv2+ @@ -141,6 +141,16 @@ Supplements: exfatprogs Recommends: exfatprogs +%if "%{version}" == "4.18.0.0" && "%{release}" == "2%{?dist}" +Obsoletes: kmod-%{pkg} = %{?epoch:%{epoch}:}%{version}-1%{?dist} +%endif + +%if "%{version}" == "4.18.0.0" && "%{release}" == "3%{?dist}" +Obsoletes: kmod-%{pkg} = %{?epoch:%{epoch}:}%{version}-1%{?dist} +Obsoletes: kmod-%{pkg} = %{?epoch:%{epoch}:}%{version}-2%{?dist} +%endif + + %description This package provides the required kernel module (exfat) to mount devices formatted with the exFAT file system. @@ -209,6 +219,9 @@ fi %changelog +* Thu Jan 27 2022 Peter Georg - 4.18.0.0-3 +- Add obsoletes for update path + * Sat Jan 22 2022 Peter Georg - 4.18.0.0-2 - Enable ppc64le