summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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