diff options
-rw-r--r-- | php-zendframework-zend-config.spec | 10 |
1 files 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 <?php require_once '%{php_home}/Zend/Loader/AutoloaderFactory.php'; -Zend\\Loader\\AutoloaderFactory::factory(array( - 'Zend\\Loader\\StandardAutoloader' => 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 |