From 2d378c99d34c7b95ffb7e8cbb22937598b5d38d9 Mon Sep 17 00:00:00 2001 From: Nathaniel McCallum Date: Tue, 20 Sep 2016 10:36:36 -0400 Subject: [PATCH] Make build work on EL6 --- jansson.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/jansson.spec b/jansson.spec index 7d3c7d9..b33707d 100644 --- a/jansson.spec +++ b/jansson.spec @@ -31,6 +31,10 @@ Development documentation for jansson. %prep %setup -q +%if 0%{?rhel} == 6 +%{__sed} -i 's/code-block:: shell/code-block:: none/g' doc/*.rst +%endif + %build %configure --disable-static make %{?_smp_mflags}