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}