diff --git a/SPECS/kmod-iwlegacy.spec b/SPECS/kmod-iwlegacy.spec index 112f8a2..2bcdb48 100644 --- a/SPECS/kmod-iwlegacy.spec +++ b/SPECS/kmod-iwlegacy.spec @@ -21,7 +21,7 @@ Name: kmod-%{pkg} Version: 4.18.0.348 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Intel WiFi 3945ABG/BG (iwl3945) and 4965AGN (iwl4965) driver License: GPLv2 and (BSD or GPLv2) @@ -73,6 +73,16 @@ Provides: kmod-iwl4965 = %{?epoch:%{epoch}:}%{version}-%{release} Supplements: iwl4965-firmware Recommends: iwl4965-firmware + +%if "%{version}" == "4.18.0.348" && "%{release}" == "2%{?dist}" +Obsoletes: kmod-%{pkg} = %{?epoch:%{epoch}:}%{version}-1%{?dist} +%endif + +%if "%{version}" == "4.18.0.348" && "%{release}" == "3%{?dist}" +Obsoletes: kmod-%{pkg} = %{?epoch:%{epoch}:}%{version}-1%{?dist} +Obsoletes: kmod-%{pkg} = %{?epoch:%{epoch}:}%{version}-2%{?dist} +%endif + %description This package provides drivers for Intel's WiFi adapter 3945ABG/BG (iwl3945) and 4965AGN (iwl4965) including the required Intel WiFi legacy driver (iwlegacy). @@ -143,6 +153,9 @@ fi %changelog +* Thu Jan 27 2022 Peter Georg - 4.18.0.348-3 +- Add obsoletes for update path + * Sat Jan 22 2022 Peter Georg - 4.18.0.348-2 - Enable aarch64 and ppc64le