diff options
author | Remi Collet <fedora@famillecollet.com> | 2015-06-29 15:20:48 +0200 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2015-06-29 15:20:48 +0200 |
commit | 1c6d5f39bf0fff15c7c515d701ef4908f07c7e07 (patch) | |
tree | a852fe63cc39e364fda6bf2001a72bcdaab6086f | |
parent | 943bcabbca66995a1621b980b8678008fff30c44 (diff) |
php-phpunit-exporter: cleanup
-rw-r--r-- | php-phpunit-exporter.spec | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/php-phpunit-exporter.spec b/php-phpunit-exporter.spec index 38570da..74854bc 100644 --- a/php-phpunit-exporter.spec +++ b/php-phpunit-exporter.spec @@ -73,9 +73,11 @@ Provides the functionality to export PHP variables for visualization. # Generate the Autoloader (which was part of the Pear package) phpab --output src/autoload.php src -# Add dependency -echo "require_once 'SebastianBergmann/RecursionContext/autoload.php';" \ - >> src/autoload.php +# Rely on include_path as in PHPUnit dependencies +cat <<EOF | tee -a src/autoload.php +// Dependency' autoloader +require_once 'SebastianBergmann/RecursionContext/autoload.php'; +EOF %install |