From 9e28d3ffd2a231f1e2ae98d3edf64a6abed97c7a Mon Sep 17 00:00:00 2001 From: xh Date: Tue, 24 Sep 2024 08:19:31 +0000 Subject: [PATCH] add Obsoletes '< version' in spec --- samba.spec | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/samba.spec b/samba.spec index 257a88d..69d3bec 100644 --- a/samba.spec +++ b/samba.spec @@ -53,7 +53,7 @@ Name: samba Version: 4.19.3 -Release: 5 +Release: 6 Summary: A suite for Linux to interoperate with Windows License: GPL-3.0-or-later AND LGPL-3.0-or-later @@ -144,6 +144,8 @@ Requires: libwbclient = %{samba_depver} Provides: samba4-libs = %{samba_depver} Obsoletes: samba4-libs < %{samba_depver} +Obsoletes: python2-samba-test < %{samba_depver} +Obsoletes: samba-test-libs < %{samba_depver} %description libs Librariesfor%{name}. @@ -382,6 +384,7 @@ Requires: %{name}-client-libs = %{samba_depver} %{name}-common = %{samba_d Requires: python3-talloc python3-tevent python3-tdb python3-ldb python3-dns python3-requests python3-cryptography Requires: %{name}-libs = %{samba_depver} Obsoletes: python2-samba +Obsoletes: python3-samba < %{samba_depver} %if %with_libsmbclient Requires: libsmbclient = %{samba_depver} @@ -403,6 +406,7 @@ Summary: Test package for python3 binding for %{name} Requires: python3-%{name} = %{samba_depver} Requires: %{name}-client-libs = %{samba_depver} Requires: %{name}-libs = %{samba_depver} +Obsoletes: python3-samba-test < %{samba_depver} %description -n python3-samba-test This package contains the Python libraries used by the test suite of Samba. @@ -519,6 +523,7 @@ Requires: %{name}-client-libs = %{samba_depver} %{name}-libs = %{samba_dep %if %with_libwbclient Requires: libwbclient = %{samba_depver} %endif +Obsoletes: samba-winbind-modules < %{samba_depver} %description winbind-modules This package provides the NSS library and a PAM module @@ -3590,6 +3595,12 @@ fi %endif %changelog +* Tue Sep 24 2024 xinghe - 4.19.3-6 +- Type:bugfix +- ID:NA +- SUG:NA +- DESC:add Obsoletes '< version' in spec + * Thu May 30 2024 zhangyaqi - 4.19.3-5 - Type:bugfis - ID:NA -- Gitee