diff --git a/SPECS/kmod-wireguard.spec b/SPECS/kmod-wireguard.spec index 06f6240..a5da76b 100644 --- a/SPECS/kmod-wireguard.spec +++ b/SPECS/kmod-wireguard.spec @@ -19,7 +19,7 @@ Name: kmod-%{pkg} Version: 1.0.20211208 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Fast, modern, secure VPN tunnel License: GPLv2 @@ -59,6 +59,22 @@ Supplements: wireguard-tools Recommends: wireguard-tools +%if "%{version}" == "1.0.20211208" && "%{release}" == "1%{?dist}" +Obsoletes: kmod-%{pkg} = %{?epoch:%{epoch}:}1.0.20210606-7%{?dist} +%endif + +%if "%{version}" == "1.0.20211208" && "%{release}" == "2%{?dist}" +Obsoletes: kmod-%{pkg} = %{?epoch:%{epoch}:}1.0.20210606-7%{?dist} +Obsoletes: kmod-%{pkg} = %{?epoch:%{epoch}:}%{version}-1%{?dist} +%endif + +%if "%{version}" == "1.0.20211208" && "%{release}" == "3%{?dist}" +Obsoletes: kmod-%{pkg} = %{?epoch:%{epoch}:}1.0.20210606-7%{?dist} +Obsoletes: kmod-%{pkg} = %{?epoch:%{epoch}:}%{version}-1%{?dist} +Obsoletes: kmod-%{pkg} = %{?epoch:%{epoch}:}%{version}-2%{?dist} +%endif + + %description WireGuard is an extremely simple yet fast and modern VPN that utilizes state-of-the-art cryptography. It aims to be faster, simpler, leaner, and more @@ -132,6 +148,9 @@ fi %changelog +* Thu Jan 27 2022 Peter Georg - 1.0.20211208-3 +- Add obsoletes for update path + * Sun Jan 23 2022 Peter Georg - 1.0.20211208-2 - Enable ppc64le