summaryrefslogtreecommitdiffstats
path: root/glpi.spec
diff options
context:
space:
mode:
Diffstat (limited to 'glpi.spec')
-rw-r--r--glpi.spec11
1 files changed, 8 insertions, 3 deletions
diff --git a/glpi.spec b/glpi.spec
index f03d7fc..b09ae08 100644
--- a/glpi.spec
+++ b/glpi.spec
@@ -13,23 +13,28 @@
%global gh_owner glpi-project
%global gh_project glpi
+# remirepo:3
%if 0%{?rhel} == 6
%global useselinux 1
%else
# System policy includes GLPI rules
%global useselinux 0
+# remirepo:1
%endif
+# remirepo:1
%if 0%{?fedora} >= 21 || 0%{?rhel} >= 8
# nginx 1.6 with nginx-filesystem
%global with_nginx 1
# httpd 2.4 with httpd-filesystem
%global with_httpd 1
+# remirepo:4
%else
%global with_nginx 0
%global with_httpd 0
%endif
-# remirepo:4
+
+# remirepo:5
%if 0%{?fedora} < 19 && 0%{?rhel} < 8
# MySQL need another bootstrap method
# GLPI requires MySQL >= 5.6 or MariaDB >= 10
@@ -103,7 +108,7 @@ BuildRequires: (php-composer(monolog/monolog) >= 1.23 with php
# requires-dev
BuildRequires: (php-composer(guzzlehttp/guzzle) >= 6 with php-composer(guzzlehttp/guzzle) < 7)
BuildRequires: (php-composer(atoum/atoum) >= 3.3 with php-composer(atoum/atoum) < 4)
-# remirepo:33
+# remirepo:35
%else
BuildRequires: php-composer(iamcal/lib_autolink) < 2
BuildRequires: php-composer(iamcal/lib_autolink) >= 1.7
@@ -204,7 +209,7 @@ Requires: (php-composer(michelf/php-markdown) >= 1.6 with php
Requires: (php-composer(true/punycode) >= 2.1 with php-composer(true/punycode) < 3)
Requires: (php-composer(paragonie/random_compat) >= 2.0 with php-composer(paragonie/random_compat) < 3)
Requires: (php-composer(monolog/monolog) >= 1.23 with php-composer(monolog/monolog) < 2)
-# remirepo:28
+# remirepo:30
%else
Requires: php-composer(iamcal/lib_autolink) < 2
Requires: php-composer(iamcal/lib_autolink) >= 1.7