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