upgrade to 2.2.0
This commit is contained in:
parent
a6ef9d5db0
commit
9a8630fbe0
BIN
ldb-2.0.8.tar.gz
BIN
ldb-2.0.8.tar.gz
Binary file not shown.
BIN
ldb-2.2.0.tar.gz
Normal file
BIN
ldb-2.2.0.tar.gz
Normal file
Binary file not shown.
24
libldb.spec
24
libldb.spec
@ -1,12 +1,12 @@
|
|||||||
%global with_lmdb 1
|
%global with_lmdb 1
|
||||||
%global with_python3 1
|
%global with_python3 1
|
||||||
%global talloc_version 2.2.0
|
%global talloc_version 2.3.0
|
||||||
%global tdb_version 1.4.1
|
%global tdb_version 1.4.3
|
||||||
%global tevent_version 0.10.0
|
%global tevent_version 0.10.2
|
||||||
|
|
||||||
Name: libldb
|
Name: libldb
|
||||||
Version: 2.0.8
|
Version: 2.2.0
|
||||||
Release: 2
|
Release: 1
|
||||||
Summary: A schema-less, ldap like, API and database
|
Summary: A schema-less, ldap like, API and database
|
||||||
Requires: libtalloc%{?_isa} >= %{talloc_version}
|
Requires: libtalloc%{?_isa} >= %{talloc_version}
|
||||||
Requires: libtdb%{?_isa} >= %{tdb_version}
|
Requires: libtdb%{?_isa} >= %{tdb_version}
|
||||||
@ -18,7 +18,7 @@ Source: http://samba.org/ftp/ldb/ldb-%{version}.tar.gz
|
|||||||
BuildRequires: gcc libtalloc-devel >= %{talloc_version} libtdb-devel >= %{tdb_version}
|
BuildRequires: gcc libtalloc-devel >= %{talloc_version} libtdb-devel >= %{tdb_version}
|
||||||
BuildRequires: libtevent-devel >= %{tevent_version} lmdb-devel >= 0.9.16 popt-devel
|
BuildRequires: libtevent-devel >= %{tevent_version} lmdb-devel >= 0.9.16 popt-devel
|
||||||
BuildRequires: libxslt docbook-style-xsl python3-devel python3-tdb python3-talloc-devel
|
BuildRequires: libxslt docbook-style-xsl python3-devel python3-tdb python3-talloc-devel
|
||||||
BuildRequires: python3-tevent doxygen openldap-devel libcmocka-devel gdb
|
BuildRequires: python3-tevent doxygen openldap-devel libcmocka-devel gdb gnupg2
|
||||||
|
|
||||||
Provides: bundled(libreplace) ldb-tools
|
Provides: bundled(libreplace) ldb-tools
|
||||||
Obsoletes: python2-ldb < 2.0.5-1 python2-ldb-devel < 2.0.5-1 pyldb < 1.1.26-2 ldb-tools
|
Obsoletes: python2-ldb < 2.0.5-1 python2-ldb-devel < 2.0.5-1 pyldb < 1.1.26-2 ldb-tools
|
||||||
@ -81,16 +81,16 @@ export python_LDFLAGS=""
|
|||||||
%{?without_lmdb_flags} \
|
%{?without_lmdb_flags} \
|
||||||
--with-privatelibdir=%{_libdir}/ldb
|
--with-privatelibdir=%{_libdir}/ldb
|
||||||
|
|
||||||
make %{?_smp_mflags} V=1
|
%make_build
|
||||||
doxygen Doxyfile
|
doxygen Doxyfile
|
||||||
|
|
||||||
%check
|
%check
|
||||||
echo disabling one assertion in tests/python/repack.py
|
echo disabling one assertion in tests/python/repack.py
|
||||||
sed -e '/test_guid_indexed_v1_db/,+18{/toggle_guidindex_check_pack/d}' -i tests/python/repack.py
|
sed -e '/test_guid_indexed_v1_db/,+18{/toggle_guidindex_check_pack/d}' -i tests/python/repack.py
|
||||||
make %{?_smp_mflags} check
|
%make_build check
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make install DESTDIR=$RPM_BUILD_ROOT
|
make install
|
||||||
cp -a apidocs/man/* $RPM_BUILD_ROOT/%{_mandir}
|
cp -a apidocs/man/* $RPM_BUILD_ROOT/%{_mandir}
|
||||||
rm -f $RPM_BUILD_ROOT/%{_mandir}/man3/_*
|
rm -f $RPM_BUILD_ROOT/%{_mandir}/man3/_*
|
||||||
|
|
||||||
@ -150,6 +150,12 @@ rm -f $RPM_BUILD_ROOT/%{_mandir}/man3/_*
|
|||||||
%{_mandir}/man1/ldbsearch.1.*
|
%{_mandir}/man1/ldbsearch.1.*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Jul 24 2020 openEuler Buildteam <buildteam@openeuler.org> - 2.2.0-1
|
||||||
|
- Type:update
|
||||||
|
- ID:NA
|
||||||
|
- SUG:NA
|
||||||
|
- DESC:update to 2.2.0
|
||||||
|
|
||||||
* Fri Mar 20 2020 songnannan <songnannan2@huawei.com> - 2.0.8-2
|
* Fri Mar 20 2020 songnannan <songnannan2@huawei.com> - 2.0.8-2
|
||||||
- add gdb in buildrequires
|
- add gdb in buildrequires
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user