summaryrefslogtreecommitdiffstats
path: root/phan.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2018-09-05 10:44:04 +0200
committerRemi Collet <remi@remirepo.net>2018-09-05 10:44:04 +0200
commit6cda4f415274c514f9b6d3afdece15f929dbe9c1 (patch)
tree44f23fa516424f3f781934264583c593a424faa0 /phan.spec
parent08f488de197cc5fc7c8530b784610f6bcac4d408 (diff)
minor
Diffstat (limited to 'phan.spec')
-rw-r--r--phan.spec4
1 files changed, 2 insertions, 2 deletions
diff --git a/phan.spec b/phan.spec
index 4fc545f..ec79483 100644
--- a/phan.spec
+++ b/phan.spec
@@ -34,7 +34,7 @@ BuildArch: noarch
%if %{with_tests}
BuildRequires: php(language) >= 7.0.0
BuildRequires: php-ast >= 0.1.5
-%if 0%{?fedora} >= 27
+%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8
BuildRequires: (php-composer(composer/semver) >= 1.4 with php-composer(composer/semver) < 2)
BuildRequires: (php-composer(composer/xdebug-handler) >= 1.1 with php-composer(composer/xdebug-handler) < 2)
BuildRequires: (php-composer(felixfbecker/advanced-json-rpc) >= 3.0 with php-composer(felixfbecker/advanced-json-rpc) < 4)
@@ -85,7 +85,7 @@ BuildRequires: php-composer(fedora/autoloader)
# "symfony/console": "~2.3|~3.0|~4.0"
Requires: php(language) >= 7.0.0
Requires: php-ast >= 0.1.5
-%if 0%{?fedora} >= 27
+%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8
Requires: (php-composer(composer/semver) >= 1.4 with php-composer(composer/semver) < 2)
Requires: (php-composer(composer/xdebug-handler) >= 1.1 with php-composer(composer/xdebug-handler) < 2)
Requires: (php-composer(felixfbecker/advanced-json-rpc) >= 3.0 with php-composer(felixfbecker/advanced-json-rpc) < 4)