diff --git a/openwsman.spec b/openwsman.spec index 71f22d2..0c23479 100644 --- a/openwsman.spec +++ b/openwsman.spec @@ -3,7 +3,7 @@ Name: openwsman Version: 2.6.8 -Release: 14%{?dist} +Release: 15%{?dist} Summary: Open source Implementation of WS-Management License: BSD @@ -134,6 +134,11 @@ You can use it to send shell commands to a remote Windows hosts. %patch7 -p1 -b .CVE-2019-3833 %build +# We override CFLAGS/LDFLAGS below and force PIE executables, which is generally +# fine, except that it ultimately tries to mix PIC and PIE which is a no-no +# and triggers errors with LTO +# Disable LTO +%define _lto_cflags %{nil} # Removing executable permissions on .c and .h files to fix rpmlint warnings. chmod -x src/cpp/WsmanClient.h @@ -285,6 +290,9 @@ rm -f /var/log/wsmand.log %{_bindir}/winrs %changelog +* Wed Jul 08 2020 Jeff Law - 2.6.8-15 +- Disable LTO + * Mon Jun 22 2020 Jitka Plesnikova - 2.6.8-14 - Perl 5.32 rebuild