add Obsoletes '< version' in spec
(cherry picked from commit 9e28d3ffd2a231f1e2ae98d3edf64a6abed97c7a)
This commit is contained in:
parent
88b30a8959
commit
27d41628fa
13
samba.spec
13
samba.spec
@ -53,7 +53,7 @@
|
|||||||
|
|
||||||
Name: samba
|
Name: samba
|
||||||
Version: 4.19.3
|
Version: 4.19.3
|
||||||
Release: 5
|
Release: 6
|
||||||
|
|
||||||
Summary: A suite for Linux to interoperate with Windows
|
Summary: A suite for Linux to interoperate with Windows
|
||||||
License: GPL-3.0-or-later AND LGPL-3.0-or-later
|
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}
|
Provides: samba4-libs = %{samba_depver}
|
||||||
Obsoletes: samba4-libs < %{samba_depver}
|
Obsoletes: samba4-libs < %{samba_depver}
|
||||||
|
Obsoletes: python2-samba-test < %{samba_depver}
|
||||||
|
Obsoletes: samba-test-libs < %{samba_depver}
|
||||||
|
|
||||||
%description libs
|
%description libs
|
||||||
Librariesfor%{name}.
|
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: python3-talloc python3-tevent python3-tdb python3-ldb python3-dns python3-requests python3-cryptography
|
||||||
Requires: %{name}-libs = %{samba_depver}
|
Requires: %{name}-libs = %{samba_depver}
|
||||||
Obsoletes: python2-samba
|
Obsoletes: python2-samba
|
||||||
|
Obsoletes: python3-samba < %{samba_depver}
|
||||||
|
|
||||||
%if %with_libsmbclient
|
%if %with_libsmbclient
|
||||||
Requires: libsmbclient = %{samba_depver}
|
Requires: libsmbclient = %{samba_depver}
|
||||||
@ -403,6 +406,7 @@ Summary: Test package for python3 binding for %{name}
|
|||||||
Requires: python3-%{name} = %{samba_depver}
|
Requires: python3-%{name} = %{samba_depver}
|
||||||
Requires: %{name}-client-libs = %{samba_depver}
|
Requires: %{name}-client-libs = %{samba_depver}
|
||||||
Requires: %{name}-libs = %{samba_depver}
|
Requires: %{name}-libs = %{samba_depver}
|
||||||
|
Obsoletes: python3-samba-test < %{samba_depver}
|
||||||
|
|
||||||
%description -n python3-samba-test
|
%description -n python3-samba-test
|
||||||
This package contains the Python libraries used by the test suite of Samba.
|
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
|
%if %with_libwbclient
|
||||||
Requires: libwbclient = %{samba_depver}
|
Requires: libwbclient = %{samba_depver}
|
||||||
%endif
|
%endif
|
||||||
|
Obsoletes: samba-winbind-modules < %{samba_depver}
|
||||||
|
|
||||||
%description winbind-modules
|
%description winbind-modules
|
||||||
This package provides the NSS library and a PAM module
|
This package provides the NSS library and a PAM module
|
||||||
@ -3590,6 +3595,12 @@ fi
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Sep 24 2024 xinghe <xinghe2@h-partners.com> - 4.19.3-6
|
||||||
|
- Type:bugfix
|
||||||
|
- ID:NA
|
||||||
|
- SUG:NA
|
||||||
|
- DESC:add Obsoletes '< version' in spec
|
||||||
|
|
||||||
* Thu May 30 2024 zhangyaqi <zhangyaqi@kylinos.cn> - 4.19.3-5
|
* Thu May 30 2024 zhangyaqi <zhangyaqi@kylinos.cn> - 4.19.3-5
|
||||||
- Type:bugfis
|
- Type:bugfis
|
||||||
- ID:NA
|
- ID:NA
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user