diff --git a/.gitignore b/.gitignore index 8048cd6..55e9276 100644 --- a/.gitignore +++ b/.gitignore @@ -35,3 +35,4 @@ /ldb-1.3.1.tar.gz /ldb-1.3.2.tar.gz /ldb-1.3.3.tar.gz +/ldb-1.4.0.tar.gz diff --git a/ldb-1.3.3-do-not-require-rpc-h.patch b/ldb-1.3.3-do-not-require-rpc-h.patch deleted file mode 100644 index cf793d4..0000000 --- a/ldb-1.3.3-do-not-require-rpc-h.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff -up ldb-1.3.3/lib/replace/wscript.rpc_h ldb-1.3.3/lib/replace/wscript ---- ldb-1.3.3/lib/replace/wscript.rpc_h 2018-05-03 11:54:21.723499442 +0200 -+++ ldb-1.3.3/lib/replace/wscript 2018-05-03 11:54:42.964564273 +0200 -@@ -90,8 +90,7 @@ def configure(conf): - conf.CHECK_HEADERS('rpc/rpc.h rpc/nettype.h', lib='tirpc', together=True) - conf.SET_TARGET_TYPE('tirpc', 'SYSLIB') - if not conf.CONFIG_SET('HAVE_RPC_RPC_H'): -- Logs.error('ERROR: No rpc/rpc.h header found, tirpc or libntirpc missing?') -- sys.exit(1) -+ Logs.warn('No rpc/rpc.h header found, tirpc or libntirpc missing?') - - conf.SET_TARGET_TYPE('nsl', 'EMPTY') - conf.CHECK_HEADERS('rpc/rpc.h rpcsvc/yp_prot.h', lib='tirpc') diff --git a/libldb.spec b/libldb.spec index c500a2f..887d882 100644 --- a/libldb.spec +++ b/libldb.spec @@ -13,7 +13,7 @@ %global tevent_version 0.9.36 Name: libldb -Version: 1.3.3 +Version: 1.4.0 Release: 1%{?dist} Summary: A schema-less, ldap like, API and database Requires: libtalloc%{?_isa} >= %{talloc_version} @@ -27,6 +27,7 @@ BuildRequires: gcc BuildRequires: libtalloc-devel >= %{talloc_version} BuildRequires: libtdb-devel >= %{tdb_version} BuildRequires: libtevent-devel >= %{tevent_version} +BuildRequires: lmdb-devel >= 0.9.16 BuildRequires: popt-devel BuildRequires: libxslt BuildRequires: docbook-style-xsl @@ -49,7 +50,6 @@ BuildRequires: python3-tevent # Patches Patch0001: 0001-ldb-Fix-memory-leak-on-module-context.patch -Patch0002: ldb-1.3.3-do-not-require-rpc-h.patch %description An extensible library that implements an LDAP like API to access remote LDAP @@ -136,7 +136,6 @@ Development files for the Python bindings for the LDB library %prep %setup -q -n ldb-%{version} %patch0001 -p3 -%patch0002 -p1 %build @@ -184,6 +183,8 @@ rm -f $RPM_BUILD_ROOT/%{_mandir}/man3/_* %files %dir %{_libdir}/ldb %{_libdir}/libldb.so.* +%{_libdir}/ldb/libldb-key-value.so +%{_libdir}/ldb/libldb-mdb-int.so %dir %{_libdir}/ldb/modules %dir %{_libdir}/ldb/modules/ldb %{_libdir}/ldb/modules/ldb/*.so @@ -247,6 +248,9 @@ rm -f $RPM_BUILD_ROOT/%{_mandir}/man3/_* %endif %changelog +* Wed May 30 2018 Lukas Slebodnik - 1.4.0-1 +- New upstream release 1.4.0 + * Thu May 3 2018 Jakub Hrozek - 1.3.2-1 - New upstream release 1.3.3 - Resolves: rhbz#1574267 - libldb-1.3.3 is available diff --git a/sources b/sources index d5e12b0..5459709 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (ldb-1.3.3.tar.gz) = ad272a1fd82d5138d9a056c1d81cfcd6167886719852b41447b9e6fb6acd926b137fd76e16f476d68bc0991943142ea1482666dc48155e9a1ef09f13b041c350 +SHA512 (ldb-1.4.0.tar.gz) = 95b024b5aceac0d6360f3c98e70e1f649c53fa0e849b0f3dbb7c46cf47fac718fd13c73dd1531cefaec19d3e6b0f6751b372d1fc814dd58dd288a6cf1dc57a6c