From ee3a2fdff20732ad28785a62ad4284bec39e4a39 Mon Sep 17 00:00:00 2001 From: Peter Georg Date: Jan 27 2022 19:08:29 +0000 Subject: Add obsoletes for update path --- diff --git a/SPECS/kmod-ntfs3.spec b/SPECS/kmod-ntfs3.spec index 1b215f8..b7d10f8 100644 --- a/SPECS/kmod-ntfs3.spec +++ b/SPECS/kmod-ntfs3.spec @@ -158,6 +158,11 @@ Requires(post): %{_sbindir}/weak-modules Requires(postun): %{_sbindir}/weak-modules +%if "%{version}" == "5.14.0.0" && "%{release}" == "7%{?dist}" +Obsoletes: kmod-%{pkg} = %{?epoch:%{epoch}:}%{version}-6%{?dist} +%endif + + %description This package provides the required kernel module (ntfs3) to mount devices formatted with the Windows OS native file system (NTFS) up to version 3.1.