epel9
Shawn Iwinski 8 years ago
parent 3afb21ce1e
commit b40e370913

@ -115,6 +115,10 @@ cp -p res/phpab/fedora.php.tpl %{buildroot}%{phpab_template_dir}/
%check %check
%if %{with_tests} %if %{with_tests}
%if 0%{?el6}
find tests -type f -print0 | xargs -0 sed -i 's/extends TestCase/extends \\PHPUnit_Framework_TestCase/'
%endif
RETURN_CODE=0 RETURN_CODE=0
for PHP_EXEC in php %{?rhel:php54 php55} php56 php70 php71; do for PHP_EXEC in php %{?rhel:php54 php55} php56 php70 php71; do
if which $PHP_EXEC; then if which $PHP_EXEC; then

Loading…
Cancel
Save