summaryrefslogtreecommitdiffstats
path: root/php.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php.spec')
-rw-r--r--php.spec3
1 files changed, 1 insertions, 2 deletions
diff --git a/php.spec b/php.spec
index 60b7b41..26f15c2 100644
--- a/php.spec
+++ b/php.spec
@@ -395,8 +395,7 @@ Requires: openssl-devel%{?_isa} >= 1.0.1
Requires: pcre2-devel%{?_isa} >= 10.30
%endif
Requires: zlib-devel%{?_isa}
-# TODO add rhel 8 when EPEL will have php-nikic-php-parser4
-%if 0%{?fedora}
+%if 0%{?fedora} || 0%{?rhel} >= 8
Recommends: php-nikic-php-parser4 >= 4.3.0
%endif