@ -1,6 +1,6 @@
%if %{defined rhel}
%if %{rhel} < 7
%global disable_tests -D CMARK_TESTS=OFF
%global disable_tests -DCMARK_TESTS=OFF
%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}