From 1404fa0f81fe39121d04fba7f3b4b0d2ca5580b1 Mon Sep 17 00:00:00 2001 From: Peter Georg Date: Jan 27 2022 14:58:55 +0000 Subject: Add obsoletes for update path --- diff --git a/SPECS/kmod-xt_time.spec b/SPECS/kmod-xt_time.spec index e0cf070..a4f980e 100644 --- a/SPECS/kmod-xt_time.spec +++ b/SPECS/kmod-xt_time.spec @@ -21,7 +21,7 @@ Name: kmod-%{pkg} Version: 4.18.0.211 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Time match support for Netfilter (xt_time) License: GPLv2 @@ -59,6 +59,16 @@ Requires(post): %{_sbindir}/weak-modules Requires(postun): %{_sbindir}/weak-modules +%if "%{version}" == "4.18.0.221" && "%{release}" == "2%{?dist}" +Obsoletes: kmod-%{pkg} = %{?epoch:%{epoch}:}%{version}-1%{?dist} +%endif + +%if "%{version}" == "4.18.0.221" && "%{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 "time" match module for the Network packet filtering framework (Netfilter). It allows you to match based on the packet arrival or @@ -128,6 +138,9 @@ fi %changelog +* Thu Jan 27 2022 Peter Georg - 4.18.0.211-3 +- Add obsoletes for update path + * Sat Jan 22 2022 Peter Georg - 4.18.0.211-2 - Enable ppc64le