!12 fix obsoletes in spec

From: @panxh_purple 
Reviewed-by: @xiezhipeng1 
Signed-off-by: @xiezhipeng1
This commit is contained in:
openeuler-ci-bot 2022-09-09 01:01:14 +00:00 committed by Gitee
commit 209ca6e488
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,6 +1,6 @@
Name: libfastjson
Version: 0.99.9
Release: 1
Release: 2
Summary: JSON-C - A JSON implementation in C
License: MIT
URL: https://github.com/rsyslog/libfastjson
@ -16,7 +16,7 @@ provide: a small library with essential json handling
functions, sufficiently good json support (not 100%
standards compliant), be very fast in processing.
Obsoletes: %{name}
Obsoletes: %{name} < %{version}-%{release}
%package devel
Summary: Development files for libfastjson
@ -56,6 +56,9 @@ make V=1 check
%{_libdir}/pkgconfig/libfastjson.pc
%changelog
* Thu Sep 8 2022 panxiaohe <panxh.life@foxmail.com> - 0.99.9-2
- fix obsoletes in spec
* Fri Sep 3 2021 panxiaohe <panxiaohe@huawei.com> - 0.99.9-1
- update to 0.99.9