diff --git a/SPECS/kmod-pata_atiixp.spec b/SPECS/kmod-pata_atiixp.spec index a5b9090..ea02a36 100644 --- a/SPECS/kmod-pata_atiixp.spec +++ b/SPECS/kmod-pata_atiixp.spec @@ -21,7 +21,7 @@ Name: kmod-%{pkg} Version: 4.18.0.80 -Release: 2%{?dist} +Release: 3%{?dist} Summary: ATI PATA Controller (%{pkg}) driver License: GPLv2 @@ -58,6 +58,16 @@ Requires(post): %{_sbindir}/weak-modules Requires(postun): %{_sbindir}/weak-modules +%if "%{version}" == "4.18.0.80" && "%{release}" == "2%{?dist}" +Obsoletes: kmod-%{pkg} = %{?epoch:%{epoch}:}%{version}-1%{?dist} +%endif + +%if "%{version}" == "4.18.0.80" && "%{release}" == "3%{?dist}" +Obsoletes: kmod-%{pkg} = %{?epoch:%{epoch}:}%{version}-1%{?dist} +Obsoletes: kmod-%{pkg} = %{?epoch:%{epoch}:}%{version}-2%{?dist} +%endif + + %description This driver supports ATI PATA interfaces found on many ATI chipsets. @@ -125,6 +135,9 @@ fi %changelog +* Thu Jan 27 2022 Peter Georg - 4.18.0.80-3 +- Add obsoletes for update path + * Wed Jan 26 2022 Peter Georg - 4.18.0.80-2 - Drop dracut conf