!9 add version check in Provides and Obsoletes for devel subpackage

From: @panxh_purple 
Reviewed-by: @HuaxinLuGitee 
Signed-off-by: @HuaxinLuGitee
This commit is contained in:
openeuler-ci-bot 2022-08-18 01:24:33 +00:00 committed by Gitee
commit d530a68146
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -7,7 +7,7 @@
Name: ding-libs
Version: 0.6.1
Release: 44
Release: 45
Summary: 'Ding is not GLib' utility libraries
License: GPLv3+ and LGPLv3+
URL: https://pagure.io/SSSD/ding-libs
@ -30,10 +30,10 @@ librefarray libbasicobjects, and libpath_utils.
%package devel
Summary: Development files for ding-libs
Requires: ding-libs = %{version}-%{release}
Provides: libpath_utils-devel,libdhash-devel,libref_array-devel
Provides: libcollection-devel,libbasicobjects-devel,libini_config-devel
Obsoletes: libpath_utils-devel,libdhash-devel,libref_array-devel
Obsoletes: libcollection-devel,libbasicobjects-devel,libini_config-devel
Provides: libpath_utils-devel = %{Vpath_utils}, libdhash-devel = %{Vdhash}, libref_array-devel = %{Vref_array}
Provides: libcollection-devel = %{Vcollection}, libbasicobjects-devel = %{Vbasicobjects}, libini_config-devel = %{Vini_config}
Obsoletes: libpath_utils-devel = %{Vpath_utils}, libdhash-devel = %{Vdhash}, libref_array-devel = %{Vref_array}
Obsoletes: libcollection-devel = %{Vcollection}, libbasicobjects-devel = %{Vbasicobjects}, libini_config-devel = %{Vini_config}
%description devel
This package provides development libraries and other development files.
@ -83,6 +83,9 @@ cp -pr ini/doc/html %{buildroot}%{_docdir}/%{name}-help/libini_config
%{_docdir}/%{name}-help/*
%changelog
* Wed Aug 17 2022 panxiaohe <panxh.life@foxmail.com> - 0.6.1-45
- add version check in Provides and Obsoletes for devel subpackage
* Tue Jun 14 2022 panxiaohe <panxh.life@foxmail.com> - 0.6.1-44
- modify license