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
This commit is contained in:
parent
dc1277dd2e
commit
ea5785d354
@ -1,2 +1,2 @@
|
|||||||
libldb1
|
libldb2
|
||||||
python3-ldb
|
python3-ldb
|
||||||
|
22
ldb.spec
22
ldb.spec
@ -73,26 +73,28 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|||||||
LDB is an LDAP-like embedded database.
|
LDB is an LDAP-like embedded database.
|
||||||
|
|
||||||
|
|
||||||
%package -n libldb1
|
%package -n libldb2
|
||||||
Summary: An LDAP-like embedded database
|
Summary: An LDAP-like embedded database
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
|
Provides: libldb1 = %{version}
|
||||||
|
Obsoletes: libldb1 < %{version}
|
||||||
|
|
||||||
%description -n libldb1
|
%description -n libldb2
|
||||||
LDB is an LDAP-like embedded database.
|
LDB is an LDAP-like embedded database.
|
||||||
|
|
||||||
This package includes the ldb1 library.
|
This package includes the ldb2 library.
|
||||||
|
|
||||||
|
|
||||||
%package -n libldb-devel
|
%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++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: libldb1 = %{version}
|
Requires: libldb2 = %{version}
|
||||||
Requires: pkg-config
|
Requires: pkg-config
|
||||||
|
|
||||||
%description -n libldb-devel
|
%description -n libldb-devel
|
||||||
LDB is an LDAP-like embedded database.
|
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
|
%package -n ldb-tools
|
||||||
@ -106,7 +108,7 @@ Tools to manipulate LDB files.
|
|||||||
%package -n python3-ldb
|
%package -n python3-ldb
|
||||||
Summary: Python3 bindings for the LDB library
|
Summary: Python3 bindings for the LDB library
|
||||||
Group: Development/Libraries/Python
|
Group: Development/Libraries/Python
|
||||||
Requires: libldb1 = %{version}
|
Requires: libldb2 = %{version}
|
||||||
Obsoletes: python-ldb
|
Obsoletes: python-ldb
|
||||||
|
|
||||||
%description -n python3-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
|
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
|
%post -n python3-ldb -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -n python3-ldb -p /sbin/ldconfig
|
%postun -n python3-ldb -p /sbin/ldconfig
|
||||||
|
|
||||||
%files -n libldb1
|
%files -n libldb2
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_libdir}/libldb.so.*
|
%{_libdir}/libldb.so.*
|
||||||
%dir %{_libdir}/ldb
|
%dir %{_libdir}/ldb
|
||||||
|
Loading…
Reference in New Issue
Block a user