From d6786e7fee2d2a5f2a8414add1bee758bd07bba9 Mon Sep 17 00:00:00 2001 From: Jakub Hrozek Date: May 03 2018 10:01:52 +0000 Subject: New upstream release 1.3.3 Resolves: rhbz#1574267 - libldb-1.3.3 is available --- diff --git a/.gitignore b/.gitignore index 689af9c..8048cd6 100644 --- a/.gitignore +++ b/.gitignore @@ -34,3 +34,4 @@ /ldb-1.3.0.tar.gz /ldb-1.3.1.tar.gz /ldb-1.3.2.tar.gz +/ldb-1.3.3.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 new file mode 100644 index 0000000..cf793d4 --- /dev/null +++ b/ldb-1.3.3-do-not-require-rpc-h.patch @@ -0,0 +1,13 @@ +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 aa62673..c500a2f 100644 --- a/libldb.spec +++ b/libldb.spec @@ -13,8 +13,8 @@ %global tevent_version 0.9.36 Name: libldb -Version: 1.3.2 -Release: 2%{?dist} +Version: 1.3.3 +Release: 1%{?dist} Summary: A schema-less, ldap like, API and database Requires: libtalloc%{?_isa} >= %{talloc_version} Requires: libtdb%{?_isa} >= %{tdb_version} @@ -49,6 +49,7 @@ 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 @@ -135,6 +136,7 @@ Development files for the Python bindings for the LDB library %prep %setup -q -n ldb-%{version} %patch0001 -p3 +%patch0002 -p1 %build @@ -245,6 +247,11 @@ rm -f $RPM_BUILD_ROOT/%{_mandir}/man3/_* %endif %changelog +* 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 +- Backport a patch from samba upstream to not require rpc.h + * Thu Mar 01 2018 Lukas Slebodnik - 1.3.2-2 - Disable link time optimisation for python3 related modules/libs - Workaround for rhbz#1548822 diff --git a/sources b/sources index 71a66e3..d5e12b0 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (ldb-1.3.2.tar.gz) = 31b29a2a991038910830cb47b02b7f08e1958638d073d5f1602a2657c4005c7e5f5f2c2f7972eeddef462d8c70aaad7f02ddf901cb50f1b1bbafa0c22498973d +SHA512 (ldb-1.3.3.tar.gz) = ad272a1fd82d5138d9a056c1d81cfcd6167886719852b41447b9e6fb6acd926b137fd76e16f476d68bc0991943142ea1482666dc48155e9a1ef09f13b041c350