Remove also python-ldb-devel-common

- related: rhbz#230046

This was only used internally.
This commit is contained in:
Andreas Schneider 2024-08-21 07:49:11 +02:00
parent d04728829d
commit 22760e8157

View File

@ -1254,21 +1254,6 @@ Provides: ldb-tools = %{samba_depver}
%description -n ldb-tools
Tools to manage LDB files
### PYTHON3-LDB-DEVEL-COMMON
%package -n python-ldb-devel-common
Summary: Common development files for the Python bindings for the LDB library
License: LGPL-3.0-or-later
Provides: pyldb-devel%{?_isa} = %{version}-%{release}
%{?python_provide:%python_provide python2-ldb-devel}
Obsoletes: python-ldb-devel-common < 2.10
Provides: python-ldb-devel-common = %{samba_depver}
%description -n python-ldb-devel-common
Development files for the Python bindings for the LDB library.
This package includes files that aren't specific to a Python version.
### PYTHON3-LDB
%package -n python3-ldb
Summary: Python bindings for the LDB library
@ -1280,6 +1265,8 @@ Requires: python3-tdb%{?_isa} >= %{tdb_version}
Obsoletes: python3-ldb < 2.10
Provides: python3-ldb = %{samba_depver}
# These were the C bindings, only used by Samba
Obsoletes: python-ldb-devel-common < 2.10
Provides: python-ldb-devel-common = %{samba_depver}
Obsoletes: python3-ldb-devel < 2.10
Provides: python3-ldb-devel = %{samba_depver}
@ -1560,9 +1547,11 @@ rm -f %{buildroot}%{perl_archlib}/vendor_perl/auto/Parse/Pidl/.packlist
rm -rf %{buildroot}%{perl_vendorlib}/Parse/Yapp
popd
# libldb manpages
# Install libldb manpages
cp -a lib/ldb/apidocs/man/* %{buildroot}%{_mandir}
# Remove manpages we don't want
rm -f %{buildroot}%{_mandir}/man3/_*
rm -f %{buildroot}%{_mandir}/man*/Py*.gz
%if %{with testsuite}
%check
@ -4777,10 +4766,6 @@ fi
%{_mandir}/man1/ldbrename.1.*
%{_mandir}/man1/ldbsearch.1.*
%files -n python-ldb-devel-common
#{_includedir}/pyldb.h
%{_mandir}/man*/Py*.gz
%files -n python3-ldb
%{python3_sitearch}/ldb.cpython-*.so
%{_libdir}/samba/libpyldb-util.cpython-*-private-samba.so