diff options
-rw-r--r-- | php-zendframework-zend-servicemanager.spec | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/php-zendframework-zend-servicemanager.spec b/php-zendframework-zend-servicemanager.spec index 32ac900..181c1ca 100644 --- a/php-zendframework-zend-servicemanager.spec +++ b/php-zendframework-zend-servicemanager.spec @@ -1,6 +1,6 @@ # remirepo/Fedora spec file for php-zendframework-zend-servicemanager # -# Copyright (c) 2015-2017 Remi Collet +# Copyright (c) 2015-2018 Remi Collet # License: CC-BY-SA # http://creativecommons.org/licenses/by-sa/4.0/ # @@ -50,9 +50,9 @@ BuildRequires: php-spl BuildRequires: php-composer(phpunit/phpunit) >= 5.7 BuildRequires: php-composer(ocramius/proxy-manager) >= 1.0 BuildRequires: php-composer(mikey179/vfsStream) >= 1.6 +%endif # Autoloader BuildRequires: php-fedora-autoloader-devel -%endif # From composer, "require": { # "php": "^5.6 || ^7.0", @@ -143,7 +143,7 @@ mkdir vendor cat << 'EOF' | tee vendor/autoload.php <?php require_once '%{buildroot}%{php_home}/Zend/%{library}/autoload.php'; -\Fedora\Autoloader\Autoload::addPsr4('ZendTest\\ServiceManager\\', dirname(__DIR__) . '/test'); +\Fedora\Autoloader\Autoload::addPsr4('ZendTest\\%{library}\\', dirname(__DIR__) . '/test'); EOF ret=0 |