diff options
author | Remi Collet <fedora@famillecollet.com> | 2015-06-29 14:35:28 +0200 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2015-06-29 14:35:28 +0200 |
commit | 443f6f35b7744dc55c8d7826ffbdfbfdc2f3cc09 (patch) | |
tree | 1c99870d1f6a91842b36bbd270f1736e52078b22 | |
parent | 976952c32bae4694c3463a403257c6e959caa812 (diff) |
php-phpunit-comparator: use include_path
-rw-r--r-- | php-phpunit-comparator.spec | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/php-phpunit-comparator.spec b/php-phpunit-comparator.spec index a155c1f..e718aa3 100644 --- a/php-phpunit-comparator.spec +++ b/php-phpunit-comparator.spec @@ -65,10 +65,11 @@ This component provides the functionality to compare PHP values for equality. # Generate the Autoloader phpab --output src/autoload.php src +# Rely on include_path as in PHPUnit dependencies cat <<EOF | tee -a src/autoload.php // Dependencies' autoloaders -require_once '%{_datadir}/php/SebastianBergmann/Diff/autoload.php'; -require_once '%{_datadir}/php/SebastianBergmann/Exporter/autoload.php'; +require_once 'SebastianBergmann/Diff/autoload.php'; +require_once 'SebastianBergmann/Exporter/autoload.php'; EOF |