From 93f63e4aa8f499fd4fb7a1e140fce3150c9d4f2f Mon Sep 17 00:00:00 2001 From: Peter Georg Date: Jan 27 2022 17:19:39 +0000 Subject: Add obsoletes for update path --- diff --git a/SPECS/kmod-ntfs3.spec b/SPECS/kmod-ntfs3.spec index 8b762bc..1a0bea3 100644 --- a/SPECS/kmod-ntfs3.spec +++ b/SPECS/kmod-ntfs3.spec @@ -167,6 +167,11 @@ Requires(post): %{_sbindir}/weak-modules Requires(postun): %{_sbindir}/weak-modules +%if "%{version}" == "4.18.0.0" && "%{release}" == "2%{?dist}" +Obsoletes: kmod-%{pkg} = %{?epoch:%{epoch}:}%{version}-1%{?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.