From be490d2223caa279d8f62a36a10bfa3966454ba9 Mon Sep 17 00:00:00 2001 From: Peter Georg Date: Jan 27 2022 17:18:56 +0000 Subject: Add obsoletes for update path --- diff --git a/SPECS/kmod-ecryptfs.spec b/SPECS/kmod-ecryptfs.spec index 7e3491e..ad5a07c 100644 --- a/SPECS/kmod-ecryptfs.spec +++ b/SPECS/kmod-ecryptfs.spec @@ -73,6 +73,11 @@ Supplements: ecryptfs-utils Recommends: ecryptfs-utils +%if "%{version}" == "4.18.0.277" && "%{release}" == "2%{?dist}" +Obsoletes: kmod-%{pkg} = %{?epoch:%{epoch}:}%{version}-1%{?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.