Enable build on RHEL

This commit is contained in:
Nathaniel McCallum 2016-10-17 16:48:02 -04:00
parent 2710dde494
commit 76ddcc1deb
1 changed files with 3 additions and 0 deletions

View File

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