Really fix build on RHEL

This commit is contained in:
Nathaniel McCallum 2016-10-17 17:03:12 -04:00
parent 76ddcc1deb
commit f5b2ecc365
1 changed files with 2 additions and 0 deletions

View File

@ -68,6 +68,8 @@ This package contains development files for lib%{name}-zlib.
%build
%if 0%{?rhel}
%__sed -i 's|libcrypto >= 1\.0\.2|libcrypto >= 1\.0\.1|' configure jose-openssl.pc.in
%__sed -i 's| -Wl,--push-state||' jose-openssl.pc.in jose-zlib.pc.in
%__sed -i 's| -Wl,--pop-state||' jose-openssl.pc.in jose-zlib.pc.in
%endif
%configure
make %{?_smp_mflags}