From 841e095c2d926aa1fbc017ba186564c3f254e920 Mon Sep 17 00:00:00 2001 From: Vitezslav Crhonek Date: Tue, 22 Mar 2016 15:12:55 +0100 Subject: [PATCH] Remove SSL_LIB acquired by readlink from CFLAGS --- openwsman.spec | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/openwsman.spec b/openwsman.spec index 4b5d0b3..0128a36 100644 --- a/openwsman.spec +++ b/openwsman.spec @@ -16,7 +16,7 @@ BuildRequires: perl-devel pkgconfig openssl-devel BuildRequires: cmake BuildRequires: systemd-units Version: 2.6.2 -Release: 3%{?dist} +Release: 4%{?dist} Url: http://www.openwsman.org/ License: BSD Group: Applications/System @@ -184,7 +184,6 @@ rm -rf build mkdir build export RPM_OPT_FLAGS="$RPM_OPT_FLAGS -DFEDORA -DNO_SSL_CALLBACK" -export SSL_LIB=`readlink %{_libdir}/libssl.so` export CFLAGS="-D_GNU_SOURCE -fPIE -DPIE" export LDFLAGS="$LDFLAGS -Wl,-z,now -pie" cd build @@ -199,7 +198,7 @@ cmake \ -DLIB=%{_lib} \ .. -make CFLAGS="-DSSL_LIB='\"$SSL_LIB\"'" +make # Make the freshly build openwsman libraries available to build the gem's # binary extension. @@ -336,6 +335,9 @@ rm -f /var/log/wsmand.log %changelog +* Tue Mar 22 2016 Vitezslav Crhonek - 2.6.2-4 +- Remove SSL_LIB acquired by readlink from CFLAGS + * Thu Feb 04 2016 Fedora Release Engineering - 2.6.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild