From e50f3f92235853ae3a2c031250b367249bf8e2ad Mon Sep 17 00:00:00 2001 From: panxiaohe Date: Wed, 17 Aug 2022 16:38:53 +0800 Subject: [PATCH] add version check in Provides and Obsoletes for devel subpackage --- ding-libs.spec | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/ding-libs.spec b/ding-libs.spec index be6db25..368edb7 100644 --- a/ding-libs.spec +++ b/ding-libs.spec @@ -7,7 +7,7 @@ Name: ding-libs Version: 0.6.1 -Release: 43 +Release: 44 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 - 0.6.1-44 +- add version check in Provides and Obsoletes for devel subpackage + * Tue Jun 14 2022 panxiaohe - 0.6.1-43 - modify license -- Gitee