Disable link time optimisation for python3 related modules/libs

Workaround for rhbz#1548822
This commit is contained in:
Lukas Slebodnik 2018-02-26 16:13:48 +01:00
parent 608e0c71d2
commit 5bbb418cc2

View File

@ -14,7 +14,7 @@
Name: libldb Name: libldb
Version: 1.3.2 Version: 1.3.2
Release: 1%{?dist} Release: 2%{?dist}
Summary: A schema-less, ldap like, API and database Summary: A schema-less, ldap like, API and database
Requires: libtalloc%{?_isa} >= %{talloc_version} Requires: libtalloc%{?_isa} >= %{talloc_version}
Requires: libtdb%{?_isa} >= %{tdb_version} Requires: libtdb%{?_isa} >= %{tdb_version}
@ -144,6 +144,9 @@ PY3_CONFIG_FLAGS=--extra-python=%{__python3}
PY3_CONFIG_FLAGS="" PY3_CONFIG_FLAGS=""
%endif %endif
# workaround for https://bugzilla.redhat.com/show_bug.cgi?id=1217376
export python_LDFLAGS=""
%configure --disable-rpath \ %configure --disable-rpath \
--disable-rpath-install \ --disable-rpath-install \
--bundled-libraries=NONE \ --bundled-libraries=NONE \
@ -242,6 +245,10 @@ rm -f $RPM_BUILD_ROOT/%{_mandir}/man3/_*
%endif %endif
%changelog %changelog
* Thu Mar 01 2018 Lukas Slebodnik <lslebodn@fedoraproject.org> - 1.3.2-2
- Disable link time optimisation for python3 related modules/libs
- Workaround for rhbz#1548822
* Thu Mar 01 2018 Lukas Slebodnik <lslebodn@fedoraproject.org> - 1.3.2-1 * Thu Mar 01 2018 Lukas Slebodnik <lslebodn@fedoraproject.org> - 1.3.2-1
- New upstream release 1.3.2 - New upstream release 1.3.2
- Resolves: rhbz#1550051 - libldb-1.3.2 is available - Resolves: rhbz#1550051 - libldb-1.3.2 is available