]> git.ipfire.org Git - people/stevee/ipfire-3.x.git/commitdiff
libldb: Update to 2.6.1
authorMichael Tremer <michael.tremer@ipfire.org>
Mon, 19 Dec 2022 16:47:00 +0000 (16:47 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 19 Dec 2022 16:47:00 +0000 (16:47 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
libldb/libldb.nm

index 066427002f75c167b98e26fdd1038ca36927e4ab..a0c184a14cc6dac031172f575329393a657f8f27 100644 (file)
@@ -4,36 +4,38 @@
 ###############################################################################
 
 name       = libldb
-version    = 1.1.27
+version    = 2.6.1
 release    = 1
+thisapp    = ldb-%{version}
 
 groups     = System/Libraries
-url        = http://ldb.samba.org/
+url        = https://ldb.samba.org/
 license    = LGPLv3+
-summary    = A schema-less, ldap like, API and database.
+summary    = A schema-less, ldap like, API and database
 
 description
        An extensible library that implements an LDAP like API to access remote LDAP
        servers, or use local tdb databases.
 end
 
-thisapp = ldb-%{version}
-
-source_dl  = http://samba.org/ftp/ldb/
+source_dl  = https://download.samba.org/pub/ldb/
 
 build
        requires
                chrpath
+               cmocka-devel
                docbook-utils
                docbook-xsl
                libtalloc-devel >= 2.1.5
                libtdb-devel >= 1.3.8
                libtevent-devel >= 0.9.27
+               libtirpc-devel
+               lmdb-devel >= 0.9.16
                popt-devel
-               pytalloc
-               pytdb
-               pytevent
-               python-devel
+               python3-devel
+               python3-talloc
+               python3-tdb
+               python3-tevent
        end
 
        configure_options += \
@@ -43,8 +45,9 @@ build
                --with-modulesdir=%{libdir}/ldb/modules \
                --with-privatelibdir=%{libdir}/ldb
 
-       # Disable parallel build.
-       PARALLELISMFLAGS =
+       test
+               make check
+       end
 
        install_cmds
                # Remove rpath from binaries.
@@ -72,8 +75,10 @@ packages
                template DEVEL
        end
 
-       package pyldb
-               template PYTHON
+       package python3-ldb
+               template PYTHON3
+
+               files += %{libdir}/libpyldb*
        end
 
        package %{name}-debuginfo