From 22760e8157b79d2bb5dd4e150d49be93050da5e0 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Wed, 21 Aug 2024 07:49:11 +0200 Subject: [PATCH] Remove also python-ldb-devel-common - related: rhbz#230046 This was only used internally. --- samba.spec | 25 +++++-------------------- 1 file changed, 5 insertions(+), 20 deletions(-) diff --git a/samba.spec b/samba.spec index 22d0376..79d5769 100644 --- a/samba.spec +++ b/samba.spec @@ -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