Fix obsoletes bug when both new and old versions existed

Signed-off-by: 张少宁 <zhangshaoning@uniontech.com>
This commit is contained in:
张少宁 2022-10-11 01:09:12 +00:00 committed by Gitee
parent d766f21606
commit 054b117630
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,6 +1,6 @@
Name: libtirpc
Version: 1.2.6
Release: 2
Release: 3
Summary: Transport-independent RPC library
License: SISSL and BSD
URL: http://git.linux-nfs.org/?p=steved/libtirpc.git;a=summary
@ -10,8 +10,6 @@ Patch02: backport-CVE-2021-46828.patch
BuildRequires: automake autoconf libtool pkgconfig krb5-devel
Obsoletes: libtirpc-devel < %{version}-%{release}
%description
Libtirpc is a Transport-Independent RPC library for Linux
@ -69,6 +67,9 @@ mv %{buildroot}%{_mandir}/man3 %{buildroot}%{_mandir}/man3t
%{_mandir}/*/*
%changelog
* Tue Oct 11 2022 zhangshaoning <zhangshaoning@uniontech.com> - 1.2.6-3
- Fix obsoletes bug when both new and old versions existed
* Fri Jul 22 2022 gaihuiying <eaglegai@163.com> - 1.2.6-2
- Type:CVE
- ID:CVE-2021-46828