From 171f7075889259560a20a6140b1a990ebcffa121 Mon Sep 17 00:00:00 2001 From: Lukas Slebodnik Date: Thu, 16 Aug 2018 11:09:45 +0200 Subject: [PATCH] New upstream release 1.4.2 --- .gitignore | 1 + ldb-dont-use-usr-bin-env-python.patch | 9 --------- ldb-hide-local-ABI-symbols.patch | 20 -------------------- libldb.spec | 17 +++++++++-------- sources | 2 +- 5 files changed, 11 insertions(+), 38 deletions(-) delete mode 100644 ldb-dont-use-usr-bin-env-python.patch delete mode 100644 ldb-hide-local-ABI-symbols.patch diff --git a/.gitignore b/.gitignore index 9b959cd..eb79716 100644 --- a/.gitignore +++ b/.gitignore @@ -37,3 +37,4 @@ /ldb-1.3.3.tar.gz /ldb-1.4.0.tar.gz /ldb-1.4.1.tar.gz +/ldb-1.4.2.tar.gz diff --git a/ldb-dont-use-usr-bin-env-python.patch b/ldb-dont-use-usr-bin-env-python.patch deleted file mode 100644 index 7ebd37e..0000000 --- a/ldb-dont-use-usr-bin-env-python.patch +++ /dev/null @@ -1,9 +0,0 @@ -diff -up ldb-1.4.1/buildtools/bin/waf.envpy ldb-1.4.1/buildtools/bin/waf ---- ldb-1.4.1/buildtools/bin/waf.envpy 2018-07-12 15:49:36.583918103 +0200 -+++ ldb-1.4.1/buildtools/bin/waf 2018-07-12 15:50:09.572115218 +0200 -@@ -1,4 +1,4 @@ --#!/usr/bin/env python -+#!/usr/bin/python2 - # encoding: ISO-8859-1 - # Thomas Nagy, 2005-2010 - diff --git a/ldb-hide-local-ABI-symbols.patch b/ldb-hide-local-ABI-symbols.patch deleted file mode 100644 index b34bf81..0000000 --- a/ldb-hide-local-ABI-symbols.patch +++ /dev/null @@ -1,20 +0,0 @@ -diff -up ldb-1.4.1/buildtools/wafsamba/samba_abi.py.sym_hide ldb-1.4.1/buildtools/wafsamba/samba_abi.py ---- ldb-1.4.1/buildtools/wafsamba/samba_abi.py.sym_hide 2018-07-12 15:55:14.973747103 +0200 -+++ ldb-1.4.1/buildtools/wafsamba/samba_abi.py 2018-07-12 15:55:42.205887380 +0200 -@@ -192,10 +192,12 @@ def abi_write_vscript(f, libname, curren - f.write("\t\t%s;\n" % x) - else: - f.write("\t\t*;\n") -- if abi_match != ["*"]: -- f.write("\tlocal:\n") -- for x in local_abi: -- f.write("\t\t%s;\n" % x[1:]) -+ # Always hide symbols that must be local if exist -+ local_abi.extend(["!_end", "!_bss_start", "!_edata"]) -+ f.write("\tlocal:\n") -+ for x in local_abi: -+ f.write("\t\t%s;\n" % x[1:]) -+ if global_abi != ["*"]: - if len(global_abi) > 0: - f.write("\t\t*;\n") - f.write("};\n") diff --git a/libldb.spec b/libldb.spec index ded570a..993aebc 100644 --- a/libldb.spec +++ b/libldb.spec @@ -13,8 +13,8 @@ %global tevent_version 0.9.36 Name: libldb -Version: 1.4.1 -Release: 2%{?dist} +Version: 1.4.2 +Release: 1%{?dist} Summary: A schema-less, ldap like, API and database Requires: libtalloc%{?_isa} >= %{talloc_version} Requires: libtdb%{?_isa} >= %{tdb_version} @@ -49,9 +49,7 @@ BuildRequires: python3-tevent %endif # Patches -Patch0001: ldb-dont-use-usr-bin-env-python.patch -Patch0002: 0002-ldb-Run-at-least-some-tests-on-32-bit-machines.patch -Patch0003: ldb-hide-local-ABI-symbols.patch +Patch0001: 0002-ldb-Run-at-least-some-tests-on-32-bit-machines.patch %description An extensible library that implements an LDAP like API to access remote LDAP @@ -137,9 +135,7 @@ Development files for the Python bindings for the LDB library %prep %setup -q -n ldb-%{version} -%patch0001 -p1 -%patch0002 -p3 -%patch0003 -p1 +%patch0001 -p3 %build @@ -152,6 +148,8 @@ PY3_CONFIG_FLAGS="" # workaround for https://bugzilla.redhat.com/show_bug.cgi?id=1217376 export python_LDFLAGS="" +pathfix.py -n -p -i %{__python2} buildtools/bin/waf + %configure --disable-rpath \ --disable-rpath-install \ --bundled-libraries=NONE \ @@ -255,6 +253,9 @@ rm -f $RPM_BUILD_ROOT/%{_mandir}/man3/_* %endif %changelog +* Thu Aug 16 2018 Lukas Slebodnik - 1.4.2-1 +- New upstream release 1.4.2 + * Fri Jul 13 2018 Fedora Release Engineering - 1.4.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild diff --git a/sources b/sources index 55d9508..7b4d7e7 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (ldb-1.4.1.tar.gz) = 0e5b3ad4fa49893c86ca422e44d53c0af062e85e5085de18cdcaf2f05f0769cb2ecb65bad20cf93c5c2e115116ac2e1ec7f2d767678a3fffc9591d9db25e6f61 +SHA512 (ldb-1.4.2.tar.gz) = f2b44cebd0f8c77926aa364d9ac4ea37da4a780b94e7f9fba7a55fef825e90e469a3230e56cd2b23ce4f6b528dda9041863e4af77bb0826a117e8317a0b79070