From cfd68e1fe74e17ff71278d5e0b6a74fd1c814ce6 Mon Sep 17 00:00:00 2001 From: Peter Georg Date: Jan 27 2022 19:06:22 +0000 Subject: Add obsoletes for update path --- diff --git a/SPECS/kmod-ecryptfs.spec b/SPECS/kmod-ecryptfs.spec index 8dd468d..1f1a3ab 100644 --- a/SPECS/kmod-ecryptfs.spec +++ b/SPECS/kmod-ecryptfs.spec @@ -58,6 +58,11 @@ Supplements: ecryptfs-utils Recommends: ecryptfs-utils +%if "%{version}" == "5.14.0.1" && "%{release}" == "10%{?dist}" +Obsoletes: kmod-%{pkg} = %{?epoch:%{epoch}:}%{version}-9%{?dist} +%endif + + %description This package provides the required kernel module (ecryptfs) to mount devices formatted with the Encrypted filesystem that operates on the VFS layer.