From b156fcd3eae4e8c836ed4a67eb3cfd2d13588e07 Mon Sep 17 00:00:00 2001 From: xingwei Date: Sat, 17 Jun 2023 08:23:36 +0000 Subject: [PATCH] add Obsoletes '< version' and Provides '= version' in spec (cherry picked from commit dea341650189b1d37fdf8a6c9208f445970839e0) --- samba.spec | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/samba.spec b/samba.spec index 13b528c..8af468d 100644 --- a/samba.spec +++ b/samba.spec @@ -48,7 +48,7 @@ Name: samba Version: 4.17.5 -Release: 3 +Release: 4 Summary: A suite for Linux to interoperate with Windows License: GPLv3+ and LGPLv3+ @@ -219,8 +219,8 @@ Requires: %{name}-client = %{samba_depver} %if %with_libwbclient Requires: libwbclient = %{samba_depver} %endif -Provides: samba4-common = %{samba_depver} %{name}-common-libs -Obsoletes: samba4-common < %{samba_depver} %{name}-common-libs +Provides: samba4-common = %{samba_depver} %{name}-common-libs = %{samba_depver} +Obsoletes: samba4-common < %{samba_depver} %{name}-common-libs < %{samba_depver} %description common @@ -447,8 +447,8 @@ Requires: libwbclient = %{samba_depver} Requires: python3-%{name} = %{samba_depver} Requires: perl(Archive::Tar) -Provides: samba4-test = %{samba_depver} %{name}-test-libs %{name}-test-devel = %{samba_depver} -Obsoletes: samba4-test < %{samba_depver} %{name}-test-libs %{name}-test-devel < %{samba_depver} +Provides: samba4-test = %{samba_depver} %{name}-test-libs = %{samba_depver} %{name}-test-devel = %{samba_depver} +Obsoletes: samba4-test < %{samba_depver} %{name}-test-libs < %{samba_depver} %{name}-test-devel < %{samba_depver} %description test %{name}-test provides testing tools for both the server and client @@ -3521,6 +3521,12 @@ fi %endif %changelog +* Sat Jun 17 2023 xingwei - 4.17.5-4 +- Type:bugfix +- ID:NA +- SUG:NA +- DESC:add Obsoletes '< version' and Provides '= version' in spec + * Sat Apr 01 2023 xinghe - 4.17.5-3 - Type:cves - ID:CVE-2023-0225 CVE-2023-0614 CVE-2023-0922 -- Gitee