diff options
-rw-r--r-- | REFLECTION | 8 | ||||
-rw-r--r-- | zephir-parser.spec | 8 |
2 files changed, 15 insertions, 1 deletions
diff --git a/REFLECTION b/REFLECTION new file mode 100644 index 0000000..0b32c98 --- /dev/null +++ b/REFLECTION @@ -0,0 +1,8 @@ +Extension [ <persistent> extension #144 zephir_parser version 0.1.0 ] { + + - Functions { + Function [ <internal:zephir_parser> function zephir_parse_file ] { + } + } +} + 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 |