diff options
author | Remi Collet <fedora@famillecollet.com> | 2016-07-31 08:07:43 +0200 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2016-07-31 08:07:43 +0200 |
commit | c7683cc6be9d9e251a5cc0526b81129b5b8b02ac (patch) | |
tree | fc9107952742505e25f8d3aa19e3aa2cebdf9466 /zephir-parser.spec | |
parent | 786d8944169e5c7f5508f14eb9a223ec13ba2248 (diff) |
zephir-parser: missing dep
Diffstat (limited to 'zephir-parser.spec')
-rw-r--r-- | zephir-parser.spec | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/zephir-parser.spec b/zephir-parser.spec index 148d96c..dd5553b 100644 --- a/zephir-parser.spec +++ b/zephir-parser.spec @@ -55,6 +55,10 @@ BuildRequires: %{?scl_prefix}php-pdo_sqlite BuildRequires: %{?scl_prefix}php-composer(phpunit/phpunit) >= 3.7 %endif +Requires: %{?scl_prefix}php(zend-abi) = %{php_zend_api} +Requires: %{?scl_prefix}php(api) = %{php_core_api} +%{?_sclreq:Requires: %{?scl_prefix}runtime%{?_sclreq}%{?_isa}} + %description Parser extension used by %{gh_project} @@ -158,7 +162,9 @@ sh ./bin/%{gh_project}.test version | grep %{version} %if %{with_tests} : Run test suite -%{_bindir}/phpunit unit-tests/Zephir --verbose +if %{_bindir}/phpunit --atleast-version 5; then + %{_bindir}/phpunit unit-tests/Zephir --verbose +fi %else : Test suite disabled |