diff options
Diffstat (limited to 'php-phpunit-comparator.spec')
-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 |