summaryrefslogtreecommitdiffstats
path: root/packaging
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2020-04-15 09:56:24 +0200
committerMichael Adam <obnox@samba.org>2020-04-17 11:09:18 +0200
commitd374e567abf46555971a74f7453afc388bc01a2c (patch)
treeb1b0de002f2c33a42ecf7eb067258183353d0650 /packaging
parent92dcac8579348044298b95f47e3e2ecf49adab01 (diff)
downloadsamba-integration-d374e567abf46555971a74f7453afc388bc01a2c.tar.gz
samba-integration-d374e567abf46555971a74f7453afc388bc01a2c.tar.xz
samba-integration-d374e567abf46555971a74f7453afc388bc01a2c.zip
samba-build: fix deps for package samba-test
We are building talloc/tdb/tevent/ldb internally. The actual libs are not shipped in official locations, but the python3 binding libs are. So add the appropriate provides to the samba-client-libs package. This fixes depedency problems when installing the samba-test package, as this depends on these python3-{talloc,tevent,ldb,tdb} packages. Signed-off-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'packaging')
-rw-r--r--packaging/samba.spec.j221
1 files changed, 21 insertions, 0 deletions
diff --git a/packaging/samba.spec.j2 b/packaging/samba.spec.j2
index c62e1f8..908d3d7 100644
--- a/packaging/samba.spec.j2
+++ b/packaging/samba.spec.j2
@@ -323,6 +323,27 @@ Requires: libwbclient = %{samba_depver}
%endif
Requires: krb5-libs >= %{required_mit_krb5}
+Provides: python3-talloc = %{samba_depver}
+Obsoletes: python3-talloc < %{samba_depver}
+Provides: pytalloc = %{samba_depver}
+Obsoletes: pytalloc < %{samba_depver}
+
+Provides: python3-tdb = %{samba_depver}
+Obsoletes: python3-tdb < %{samba_depver}
+Provides: python-tdb = %{samba_depver}
+Obsoletes: python-tdb < %{samba_depver}
+
+Provides: python3-tevent = %{samba_depver}
+Obsoletes: python3-tevent < %{samba_depver}
+Provides: python-tevent = %{samba_depver}
+Obsoletes: python-tevent < %{samba_depver}
+
+Provides: python3-ldb = %{samba_depver}
+Obsoletes: python3-ldb < %{samba_depver}
+Provides: pyldb = %{samba_depver}
+Obsoletes: pyldb < %{samba_depver}
+
+
%description client-libs
The samba-client-libs package contains internal libraries needed by the
SMB/CIFS clients.