From 34da6762e89e5289d8d8fef12d0aab46ca196e03 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 26 Sep 2016 15:06:57 +0200 Subject: glpi: only run test suite with mariadb (not with mysql on EL<7) --- glpi-dev.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/glpi-dev.spec b/glpi-dev.spec index 70de7bf..8fe97b4 100644 --- a/glpi-dev.spec +++ b/glpi-dev.spec @@ -32,8 +32,12 @@ %global with_nginx 0 %global with_httpd 0 %endif -#%global with_tests 0%{?_with_tests:1} -%global with_tests 1 +%if 0%{?fedora} < 19 && 0%{?rhel} < 7 +# MySQL need another bootstrap method +%global with_tests 0%{?_with_tests:1} +%else +%global with_tests 0%{!?_without_tests:1} +%endif Name: %{gh_project} Version: 9.1 -- cgit