|
|
@ -1,6 +1,6 @@
|
|
|
|
%if %{defined rhel}
|
|
|
|
%if %{defined rhel}
|
|
|
|
%if %{rhel} < 7
|
|
|
|
%if %{rhel} < 7
|
|
|
|
%global disable_tests -D CMARK_TESTS=OFF
|
|
|
|
%global disable_tests -DCMARK_TESTS=OFF
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
@ -54,7 +54,7 @@ This package provides the cmark library.
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
mkdir build
|
|
|
|
mkdir build
|
|
|
|
cd build
|
|
|
|
cd build
|
|
|
|
%cmake .. %{?disable_tests}
|
|
|
|
%cmake %{?disable_tests} ..
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|