From 76ddcc1deb2a764d8fb3d13a531a9a659cebc3bf Mon Sep 17 00:00:00 2001 From: Nathaniel McCallum Date: Mon, 17 Oct 2016 16:48:02 -0400 Subject: [PATCH] Enable build on RHEL --- jose.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/jose.spec b/jose.spec index b0a2bed..e2e0fb3 100644 --- a/jose.spec +++ b/jose.spec @@ -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}