diff options
author | Remi Collet <remi@remirepo.net> | 2018-02-02 10:51:15 +0100 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2018-02-02 10:51:15 +0100 |
commit | f3e9c0451efef20dcd6c0e99a4c2ceb4d33db61e (patch) | |
tree | eafc1d2034c5f7c23c9356101635132f9c85efdb | |
parent | 9617445236fd369f40cd5299c32d3c9f5109e2af (diff) |
use full path instead of relying on include_path
-rw-r--r-- | php-phpunit-php-code-coverage6.spec | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/php-phpunit-php-code-coverage6.spec b/php-phpunit-php-code-coverage6.spec index 50df34f..d71f9a9 100644 --- a/php-phpunit-php-code-coverage6.spec +++ b/php-phpunit-php-code-coverage6.spec @@ -162,16 +162,13 @@ rm src/Report/Html/Renderer/Template/fonts/glyphicons-halflings-regular.ttf # Temporarily keep fallback on old phpunit/php-token-stream cat << 'EOF' | tee -a src/autoload.php \Fedora\Autoloader\Dependencies::required([ - 'File/Iterator/Autoload.php', - [ - 'SebastianBergmann/PhpTokenStream2/autoload.php', - 'PHP/Token/Stream/Autoload.php', - ], - 'Text/Template/Autoload.php', - '%{ns_vendor}/CodeUnitReverseLookup/autoload.php', - '%{ns_vendor}/Environment3/autoload.php', - '%{ns_vendor}/Version/autoload.php', - 'TheSeer/Tokenizer/autoload.php', + '%{php_home}/File/Iterator/Autoload.php', + '%{php_home}/%{ns_vendor}/PhpTokenStream3/autoload.php', + '%{php_home}/Text/Template/Autoload.php', + '%{php_home}/%{ns_vendor}/CodeUnitReverseLookup/autoload.php', + '%{php_home}/%{ns_vendor}/Environment3/autoload.php', + '%{php_home}/%{ns_vendor}/Version/autoload.php', + '%{php_home}/TheSeer/Tokenizer/autoload.php', ]); EOF @@ -225,6 +222,7 @@ exit $ret - raise dependency on phpunit/php-token-stream 3.0 - use range dependencies on F27+ - use phpunit7 +- use full path instead of relying on include_path - bootstrap build * Thu Dec 7 2017 Remi Collet <remi@remirepo.net> - 5.3.0-1 |