From 5bbb418cc2a0f2be2f45d9022d990366fd781214 Mon Sep 17 00:00:00 2001 From: Lukas Slebodnik Date: Mon, 26 Feb 2018 16:13:48 +0100 Subject: [PATCH] Disable link time optimisation for python3 related modules/libs Workaround for rhbz#1548822 --- libldb.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/libldb.spec b/libldb.spec index 2cdd62e..aa62673 100644 --- a/libldb.spec +++ b/libldb.spec @@ -14,7 +14,7 @@ Name: libldb Version: 1.3.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: A schema-less, ldap like, API and database Requires: libtalloc%{?_isa} >= %{talloc_version} Requires: libtdb%{?_isa} >= %{tdb_version} @@ -144,6 +144,9 @@ PY3_CONFIG_FLAGS=--extra-python=%{__python3} PY3_CONFIG_FLAGS="" %endif +# workaround for https://bugzilla.redhat.com/show_bug.cgi?id=1217376 +export python_LDFLAGS="" + %configure --disable-rpath \ --disable-rpath-install \ --bundled-libraries=NONE \ @@ -242,6 +245,10 @@ rm -f $RPM_BUILD_ROOT/%{_mandir}/man3/_* %endif %changelog +* Thu Mar 01 2018 Lukas Slebodnik - 1.3.2-2 +- Disable link time optimisation for python3 related modules/libs +- Workaround for rhbz#1548822 + * Thu Mar 01 2018 Lukas Slebodnik - 1.3.2-1 - New upstream release 1.3.2 - Resolves: rhbz#1550051 - libldb-1.3.2 is available