From 5fa6954dc254243b95d3201cabf817b5d1edc28e Mon Sep 17 00:00:00 2001 From: Pete Walter Date: Tue, 30 Mar 2021 17:01:11 +0100 Subject: [PATCH] Add self obsoletes to remove i686 multilib package when updating to F34 The i686 multilib package is gone in F34 so we need to obsolete it to get clean upgrades. --- rdma-core.spec | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/rdma-core.spec b/rdma-core.spec index 616087d..d0b53eb 100644 --- a/rdma-core.spec +++ b/rdma-core.spec @@ -1,6 +1,6 @@ Name: rdma-core Version: 34.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: RDMA core userspace libraries and daemons # Almost everything is licensed under the OFA dual GPLv2, 2 Clause BSD license @@ -87,6 +87,11 @@ BuildRequires: make BuildRequires: pandoc %endif +%if 0%{?fedora} >= 34 +# self obsoletes to remove i686 multilib package when updating to F34 +Obsoletes: rdma-core < 34.0-3 +%endif + %description RDMA core userspace infrastructure and documentation, including initialization scripts, kernel driver-specific modprobe override configs, IPoIB network @@ -653,6 +658,9 @@ fi %endif %changelog +* Tue Mar 30 2021 Pete Walter - 34.0-3 +- Add self obsoletes to remove i686 multilib package when updating to F34 + * Mon Mar 08 2021 Honggang Li - 34.0-2 - RHEL9 will use prebuild doc