summaryrefslogtreecommitdiffstats
path: root/php-zephir-parser.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2017-11-10 07:39:58 +0100
committerRemi Collet <remi@remirepo.net>2017-11-10 07:39:58 +0100
commit730527ceeb2ae44bb708248fb6b4ffa381c55fa7 (patch)
treede7ba794a37c2525d7803cfb2e4a9f55d405429c /php-zephir-parser.spec
parent07bf8b7fdf8c478b456d639de004ede8973966fd (diff)
fix re2c version used (for EL-6)
Diffstat (limited to 'php-zephir-parser.spec')
-rw-r--r--php-zephir-parser.spec6
1 files changed, 5 insertions, 1 deletions
diff --git a/php-zephir-parser.spec b/php-zephir-parser.spec
index d1da16d..288e9cd 100644
--- a/php-zephir-parser.spec
+++ b/php-zephir-parser.spec
@@ -40,7 +40,11 @@ Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit
Patch0: %{gh_project}-build.patch
BuildRequires: %{?scl_prefix}php-devel > 5.5
-BuildRequires: re2c
+%if 0%{?rhel} == 6
+BuildRequires: re2c014
+%else
+BuildRequires: re2c >= 0.13.6
+%endif
Requires: %{?scl_prefix}php(zend-abi) = %{php_zend_api}
Requires: %{?scl_prefix}php(api) = %{php_core_api}