From ea5785d354c55908341cbede8f461811123125a1f3c243a956f8d7a5acbddfb2 Mon Sep 17 00:00:00 2001 From: Aurelien Aptel Date: Thu, 10 Oct 2019 08:11:42 +0000 Subject: [PATCH] Accepting request 736298 from home:scabrero:branches:network:samba:STABLE Bump to libldb2 OBS-URL: https://build.opensuse.org/request/show/736298 OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/ldb?expand=0&rev=137 --- baselibs.conf | 2 +- ldb.spec | 22 ++++++++++++---------- 2 files changed, 13 insertions(+), 11 deletions(-) diff --git a/baselibs.conf b/baselibs.conf index 38df8db..0e82ab4 100644 --- a/baselibs.conf +++ b/baselibs.conf @@ -1,2 +1,2 @@ -libldb1 +libldb2 python3-ldb diff --git a/ldb.spec b/ldb.spec index 287a081..2799eac 100644 --- a/ldb.spec +++ b/ldb.spec @@ -73,26 +73,28 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build LDB is an LDAP-like embedded database. -%package -n libldb1 +%package -n libldb2 Summary: An LDAP-like embedded database Group: System/Libraries +Provides: libldb1 = %{version} +Obsoletes: libldb1 < %{version} -%description -n libldb1 +%description -n libldb2 LDB is an LDAP-like embedded database. -This package includes the ldb1 library. +This package includes the ldb2 library. %package -n libldb-devel -Summary: Libraries and Header Files to Develop Programs with ldb1 Support +Summary: Libraries and Header Files to Develop Programs with ldb2 Support Group: Development/Libraries/C and C++ -Requires: libldb1 = %{version} +Requires: libldb2 = %{version} Requires: pkg-config %description -n libldb-devel LDB is an LDAP-like embedded database. -Libraries and Header Files to Develop Programs with ldb1 Support. +Libraries and Header Files to Develop Programs with ldb2 Support. %package -n ldb-tools @@ -106,7 +108,7 @@ Tools to manipulate LDB files. %package -n python3-ldb Summary: Python3 bindings for the LDB library Group: Development/Libraries/Python -Requires: libldb1 = %{version} +Requires: libldb2 = %{version} Obsoletes: python-ldb %description -n python3-ldb @@ -175,15 +177,15 @@ cp -a apidocs/man/* %{buildroot}/%{_mandir} sed -i 's;-lpyldb-util.%{py3_soflags_dash};-lpyldb-util.%{py3_soflags};g' %{buildroot}/%{_libdir}/pkgconfig/pyldb-util.%{py3_soflags}.pc -%post -n libldb1 -p /sbin/ldconfig +%post -n libldb2 -p /sbin/ldconfig -%postun -n libldb1 -p /sbin/ldconfig +%postun -n libldb2 -p /sbin/ldconfig %post -n python3-ldb -p /sbin/ldconfig %postun -n python3-ldb -p /sbin/ldconfig -%files -n libldb1 +%files -n libldb2 %defattr(-,root,root) %{_libdir}/libldb.so.* %dir %{_libdir}/ldb