Remove SSL_LIB acquired by readlink from CFLAGS

This commit is contained in:
Vitezslav Crhonek 2016-03-22 15:12:55 +01:00
parent eb2cecdd0c
commit 841e095c2d

View File

@ -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 <vcrhonek@redhat.com> - 2.6.2-4
- Remove SSL_LIB acquired by readlink from CFLAGS
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.6.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild