diff options
Diffstat (limited to 'php-phpdocumentor-reflection-docblock2.spec')
-rw-r--r-- | php-phpdocumentor-reflection-docblock2.spec | 7 |
1 files changed, 5 insertions, 2 deletions
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 |