summaryrefslogtreecommitdiffstats
path: root/glpi-dev.spec
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2016-09-26 15:06:57 +0200
committerRemi Collet <fedora@famillecollet.com>2016-09-26 15:06:57 +0200
commit34da6762e89e5289d8d8fef12d0aab46ca196e03 (patch)
tree11741326ea1cefb061bf1bac86cb94250d14c5b0 /glpi-dev.spec
parent396bd79a00ff53fb6ba41d15a3b6e762e045d785 (diff)
glpi: only run test suite with mariadb (not with mysql on EL<7)
Diffstat (limited to 'glpi-dev.spec')
-rw-r--r--glpi-dev.spec8
1 files 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