diff options
Diffstat (limited to 'php-zendframework-zend-cache.spec')
-rw-r--r-- | php-zendframework-zend-cache.spec | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/php-zendframework-zend-cache.spec b/php-zendframework-zend-cache.spec index 2919f18..20056a3 100644 --- a/php-zendframework-zend-cache.spec +++ b/php-zendframework-zend-cache.spec @@ -21,7 +21,7 @@ Name: php-%{gh_owner}-%{gh_project} Version: 2.8.2 -Release: 2%{?dist} +Release: 4%{?dist} Summary: Zend Framework %{library} component License: BSD @@ -172,12 +172,16 @@ mv autoload/*.php src cat << 'EOF' | tee autoload.php <?php require_once __DIR__ . '/%{library}/patternPluginManagerPolyfill.php'; +require_once '%{php_home}/Psr/Cache/autoload.php'; +require_once '%{php_home}/Psr/SimpleCache/autoload.php'; EOF : Create autoloader phpab --template fedora --output src/autoload.php src cat << 'EOF' | tee -a src/autoload.php \Fedora\Autoloader\Dependencies::required([ + '%{php_home}/Psr/Cache/autoload.php', + '%{php_home}/Psr/SimpleCache/autoload.php', '%{php_home}/Zend/Stdlib/autoload.php', '%{php_home}/Zend/ServiceManager/autoload.php', '%{php_home}/Zend/EventManager/autoload.php', @@ -241,6 +245,9 @@ exit $ret %changelog +* Sun Nov 25 2018 Remi Collet <remi@remirepo.net> - 2.8.2-4 +- fix autoloader for psr/cache and psr/simple-cache + * Wed May 2 2018 Remi Collet <remi@remirepo.net> - 2.8.2-2 - update to 2.8.2 |