summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2016-07-31 08:07:43 +0200
committerRemi Collet <fedora@famillecollet.com>2016-07-31 08:07:43 +0200
commitc7683cc6be9d9e251a5cc0526b81129b5b8b02ac (patch)
treefc9107952742505e25f8d3aa19e3aa2cebdf9466
parent786d8944169e5c7f5508f14eb9a223ec13ba2248 (diff)
zephir-parser: missing dep
-rw-r--r--REFLECTION8
-rw-r--r--zephir-parser.spec8
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