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.
This commit is contained in:
Pete Walter 2021-03-30 17:01:11 +01:00
parent 3145cfa39a
commit 5fa6954dc2
1 changed files with 9 additions and 1 deletions

View File

@ -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 <pwalter@fedoraproject.org> - 34.0-3
- Add self obsoletes to remove i686 multilib package when updating to F34
* Mon Mar 08 2021 Honggang Li <honli@redhat.com> - 34.0-2
- RHEL9 will use prebuild doc