From 7dcd41a643d2c0ea35ecc191e9ee1f5dc92c5e84 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Fri, 29 Jan 2016 17:16:37 +0900 Subject: [PATCH] cmark disable_tests tweaks --- cmark.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmark.spec b/cmark.spec index 30dfb55..dfeb12c 100644 --- a/cmark.spec +++ b/cmark.spec @@ -1,6 +1,6 @@ %if %{defined rhel} %if %{rhel} < 7 -%global disable_tests -D CMARK_TESTS=OFF +%global disable_tests -DCMARK_TESTS=OFF %endif %endif @@ -54,7 +54,7 @@ This package provides the cmark library. %build mkdir build cd build -%cmake .. %{?disable_tests} +%cmake %{?disable_tests} .. make %{?_smp_mflags}