From 795cb79ab73765e34da3c84131421df340312fac Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 5 Feb 2016 17:55:51 +0100 Subject: php-zendframework-zend-config: cleanup --- php-zendframework-zend-config.spec | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/php-zendframework-zend-config.spec b/php-zendframework-zend-config.spec index b4198fd..6ce2c87 100644 --- a/php-zendframework-zend-config.spec +++ b/php-zendframework-zend-config.spec @@ -114,14 +114,14 @@ cp -pr src %{buildroot}%{php_home}/Zend/%{library} %check %if %{with_tests} mkdir vendor -cat << EOF | tee vendor/autoload.php +cat << 'EOF' | tee vendor/autoload.php array( +Zend\Loader\AutoloaderFactory::factory(array( + 'Zend\Loader\StandardAutoloader' => array( 'namespaces' => array( - 'ZendTest\\\\Config' => dirname(__DIR__).'/test/', - 'Zend\\\\Config' => '%{buildroot}%{php_home}/Zend/%{library}' + 'ZendTest\\Config' => dirname(__DIR__).'/test/', + 'Zend\\Config' => '%{buildroot}%{php_home}/Zend/%{library}' )))); require_once '%{php_home}/Zend/autoload.php'; EOF -- cgit