!21 [sync] PR-20: The corresponding version number nedds to be added to the Obsoletes filed

From: @openeuler-sync-bot 
Reviewed-by: @HuaxinLuGitee 
Signed-off-by: @HuaxinLuGitee
This commit is contained in:
openeuler-ci-bot 2024-08-08 03:37:30 +00:00 committed by Gitee
commit aae4a89e05
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,6 +1,6 @@
Name: trousers Name: trousers
Version: 0.3.15 Version: 0.3.15
Release: 1 Release: 3
Summary: The open-source TCG Software Stack Summary: The open-source TCG Software Stack
License: BSD License: BSD
Url: http://trousers.sourceforge.net Url: http://trousers.sourceforge.net
@ -16,7 +16,7 @@ Requires(preun): systemd-units
Requires(postun): systemd-units Requires(postun): systemd-units
Provides: trousers-lib Provides: trousers-lib
Obsoletes: trousers-lib Obsoletes: trousers-lib < %{version}-%{release}
%description %description
Trousers is an Trusted Computing Software Stack. By using trousers you Trousers is an Trusted Computing Software Stack. By using trousers you
@ -30,7 +30,7 @@ Summary: Trousers header files, documentation and trousers tCG device driver lib
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{version}-%{release}
Provides: trousers-static Provides: trousers-static
Obsoletes: trousers-static Obsoletes: trousers-static < %{version}-%{release}
%description devel %description devel
Includes header files, static library and other development files using trousers. Includes header files, static library and other development files using trousers.
@ -95,6 +95,9 @@ exit 0
%changelog %changelog
* Thu Aug 01 2024 zhangruifang <zhangruifang@h-partners.com> - 0.3.15-3
- The corresponding version number nedds to be added to the Obsoletes filed
* Sat Jan 23 2021 panxiaohe <panxiaohe@huawei.com> - 0.3.15-1 * Sat Jan 23 2021 panxiaohe <panxiaohe@huawei.com> - 0.3.15-1
- update to 0.3.15 - update to 0.3.15