diff --git a/download b/download new file mode 100644 index 0000000000000000000000000000000000000000..5ad77bca1a528df68d2643bf0692360610485020 --- /dev/null +++ b/download @@ -0,0 +1,2 @@ +afc5627e7650d60a543a808085926724 ldb-2.4.1.tar.asc +ec2baff9c8e02fcbdd570401420589d5 ldb-2.4.1.tar.gz diff --git a/fixed-guidindexpackv1.ldb b/fixed-guidindexpackv1.ldb deleted file mode 100644 index 96d783cb0dc2031274113db2aa6ccfc9729fe282..0000000000000000000000000000000000000000 Binary files a/fixed-guidindexpackv1.ldb and /dev/null differ diff --git a/ldb-2.3.0-fix-tests-on-aarch64.patch b/ldb-2.3.0-fix-tests-on-aarch64.patch deleted file mode 100644 index 06b7497c5f1ef6a97c1962d0508967105abf9c83..0000000000000000000000000000000000000000 --- a/ldb-2.3.0-fix-tests-on-aarch64.patch +++ /dev/null @@ -1,39 +0,0 @@ -From e90817629f1f7049cc0fe48f1003f5fb1103acc3 Mon Sep 17 00:00:00 2001 -From: Gary Lockyer -Date: Thu, 22 Apr 2021 10:03:53 +0200 -Subject: [PATCH 1/2] lib:ldb: Use a 1MiB lmdb so the test also passes on - aarch64 CentOS stream - -Signed-off-by: Gary Lockyer -Reviewed-by: Andreas Schneider ---- - lib/ldb/tests/ldb_lmdb_free_list_test.c | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -diff --git a/lib/ldb/tests/ldb_lmdb_free_list_test.c b/lib/ldb/tests/ldb_lmdb_free_list_test.c -index 9b295460730..c87620e7a87 100644 ---- a/tests/ldb_lmdb_free_list_test.c -+++ b/tests/ldb_lmdb_free_list_test.c -@@ -77,7 +77,7 @@ - #endif /* TEST_BE */ - - const int RECORD_SIZE = 6144; --const int ITERATIONS = 3; -+const int ITERATIONS = 192; - - struct test_ctx { - struct tevent_context *ev; -@@ -155,9 +155,9 @@ static int setup(void **state) - "@IDX_DN_GUID: GUID\n" - "\n"; - /* -- * Use a 64KiB DB for this test -+ * Use a 1MiB DB for this test - */ -- const char *options[] = {"lmdb_env_size:65536", NULL}; -+ const char *options[] = {"lmdb_env_size:1048576", NULL}; - - noconn_setup((void **)&test_ctx); - --- -2.31.1 diff --git a/ldb-2.3.0.tar.asc b/ldb-2.3.0.tar.asc deleted file mode 100644 index c224ce513224614ab6716bfa389ebbf97485d5ae..0000000000000000000000000000000000000000 --- a/ldb-2.3.0.tar.asc +++ /dev/null @@ -1,11 +0,0 @@ ------BEGIN PGP SIGNATURE----- - -iQEzBAABCgAdFiEEkUejOXGVGO6QEby1R5ORYRMIQCUFAmBbDpgACgkQR5ORYRMI -QCVgZQf/WyIcMhD9EAzJzMOGjantl0hXloCjnyT/vBpchWYwviU73cu65H/po+AO -PgYMEvZfw8mLrMjSS+Dyr/76E+4MLjmnU02yISL4dJ+9EZ268xpMVELxHTYb9W+P -aql8R0fcODqyHmEr3xPV0br+rcqkM6Wqekp2OcwRDgmtl7EN9/nJOThZ4Un4mEL9 -0oJKPllWLfPEBfk5j+UXinPGARBKj3txl1IkNinoXh7LiQ4y7GrEg2BSpsQV8YLe -EDEBzK4fxPWLwbWWwAUSXgQNJ1GXwxZo6P2Fl9vKNDfxz8+2Xp24zyQBraWX7IqV -6+aRuYQSmrH6tKX9OZCmCKJtT2qcdQ== -=qIvP ------END PGP SIGNATURE----- diff --git a/ldb-2.3.0.tar.gz b/ldb-2.3.0.tar.gz deleted file mode 100644 index 5f80f6107d3c023528de953f0364991312314a42..0000000000000000000000000000000000000000 Binary files a/ldb-2.3.0.tar.gz and /dev/null differ diff --git a/libldb.spec b/libldb.spec index a15bb824438bc19efdee98662b6b6e9224f97b69..ac0c707a8c48a964710c39c79604d4fec6eda6b5 100644 --- a/libldb.spec +++ b/libldb.spec @@ -19,13 +19,13 @@ %bcond_with python3 %endif -%global talloc_version 2.3.1 -%global tdb_version 1.4.3 -%global tevent_version 0.10.2 +%global talloc_version 2.3.3 +%global tdb_version 1.4.4 +%global tevent_version 0.11.0 Name: libldb -Version: 2.3.0 -Release: 2%{?dist} +Version: 2.4.1 +Release: 1%{?dist} Summary: A schema-less, ldap like, API and database Requires: libtalloc%{?_isa} >= %{talloc_version} Requires: libtdb%{?_isa} >= %{tdb_version} @@ -36,14 +36,9 @@ Source0: https://www.samba.org/ftp/ldb/ldb-%{version}.tar.gz Source1: https://www.samba.org/ftp/ldb/ldb-%{version}.tar.asc # gpg2 --no-default-keyring --keyring ./ldb.keyring --recv-keys 9147A339719518EE9011BCB54793916113084025 Source2: ldb.keyring -# binary diffs are not supported -# https://gitlab.com/samba-team/samba/-/merge_requests/1920 -Source3: fixed-guidindexpackv1.ldb # Patches Patch0001: 0001-PATCH-wafsamba-Fix-few-SyntaxWarnings-caused-by-regu.patch -# https://gitlab.com/samba-team/samba/-/merge_requests/1920 -Patch0002: ldb-2.3.0-fix-tests-on-aarch64.patch BuildRequires: gcc BuildRequires: libtalloc-devel >= %{talloc_version} @@ -132,9 +127,6 @@ Development files for the Python bindings for the LDB library zcat %{SOURCE0} | gpgv2 --quiet --keyring %{SOURCE2} %{SOURCE1} - %autosetup -n ldb-%{version} -p1 -# binary diffs are not supported -cp -f %{SOURCE3} tests/guidindexpackv1.ldb - %build # workaround for https://bugzilla.redhat.com/show_bug.cgi?id=1217376 export python_LDFLAGS="" @@ -230,6 +222,9 @@ rm -f $RPM_BUILD_ROOT/%{_mandir}/man3/_* %endif %changelog +* Thu Nov 25 2021 Pavel Filipenský - 2.4.1-1 +- resolves: rhbz#2013605 - Rebase to version 2.4.1 + * Tue May 25 2021 Andreas Schneider - 2.3.0-2 - related: rhbz#1897082 - Fix libldb tests on ppc64le