From ce3d9b2087fc58e1046a020fa179e47b87a1a57e Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 28 Jan 2016 19:36:56 +0900 Subject: [PATCH] also actually disable running the tests on el6 --- cmark.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmark.spec b/cmark.spec index 882c7dd..30dfb55 100644 --- a/cmark.spec +++ b/cmark.spec @@ -66,8 +66,10 @@ rm %{buildroot}%{_libdir}/libcmark.a %check +%if %{undefined disable_tests} cd build ctest -V %{?_smp_mflags} +%endif %post lib -p /sbin/ldconfig