diff --git a/SPECS/kmod-ecryptfs.spec b/SPECS/kmod-ecryptfs.spec index a2288a2..f215a21 100644 --- a/SPECS/kmod-ecryptfs.spec +++ b/SPECS/kmod-ecryptfs.spec @@ -21,7 +21,7 @@ Name: kmod-%{pkg} Version: 4.18.0.305 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Encrypted filesystem that operates on the VFS layer License: GPLv2 and GPLv2+ @@ -73,6 +73,16 @@ Supplements: ecryptfs-utils Recommends: ecryptfs-utils +%if "%{version}" == "4.18.0.305" && "%{release}" == "2%{?dist}" +Obsoletes: kmod-%{pkg} = %{?epoch:%{epoch}:}%{version}-1%{?dist} +%endif + +%if "%{version}" == "4.18.0.305" && "%{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 (ecryptfs) to mount devices formatted with the Encrypted filesystem that operates on the VFS layer. @@ -141,6 +151,9 @@ fi %changelog +* Thu Jan 27 2022 Peter Georg - 4.18.0.305-3 +- Add obsoletes for update path + * Sat Jan 22 2022 Peter Georg - 4.18.0.305-2 - Enable ppc64le