From 49c8569e087e158ce68b63fff93f167b28dd6e99 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 5 May 2017 08:31:58 +0200 Subject: backport --- php-phpdocumentor-reflection-docblock2.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'php-phpdocumentor-reflection-docblock2.spec') diff --git a/php-phpdocumentor-reflection-docblock2.spec b/php-phpdocumentor-reflection-docblock2.spec index ce0be2a..757b29c 100644 --- a/php-phpdocumentor-reflection-docblock2.spec +++ b/php-phpdocumentor-reflection-docblock2.spec @@ -1,4 +1,6 @@ -# spec file for php-phpdocumentor-reflection-docblock2 +# remirepo spec file for php-phpdocumentor-reflection-docblock2, from: +# +# Fedora spec file for php-phpdocumentor-reflection-docblock2 # # Copyright (c) 2014-2015 Remi Collet # 2017 Remi Collet, Shawn Iwinski @@ -86,7 +88,8 @@ cp -pr src/* %{buildroot}%{_datadir}/php RETURN_CODE=0 for PHP_EXEC in %{_bindir}/php %{?rhel:php54 php55} php56 php70 php71; do if [ "%{_bindir}/php" == "$PHP_EXEC" ] || which $PHP_EXEC; then - $PHP_EXEC %{_bindir}/phpunit --verbose \ + $PHP_EXEC -d auto_prepend_file=%{buildroot}%{_datadir}/php/phpDocumentor/Reflection/DocBlock2/autoload.php \ + %{_bindir}/phpunit --verbose \ --bootstrap %{buildroot}%{_datadir}/php/phpDocumentor/Reflection/DocBlock2/autoload.php \ || RETURN_CODE=1 fi -- cgit