diff options
| -rw-r--r-- | php-doctrine-annotations.spec | 12 | 
1 files changed, 8 insertions, 4 deletions
diff --git a/php-doctrine-annotations.spec b/php-doctrine-annotations.spec index 24ee74d..0b8cd3e 100644 --- a/php-doctrine-annotations.spec +++ b/php-doctrine-annotations.spec @@ -25,8 +25,7 @@  %global php_min_ver      7.1  # "doctrine/cache": "^1.11 || ^2."  %global cache_min_ver    1.11 -# only v1 is available for now -%global cache_max_ver    2 +%global cache_max_ver    3  # "doctrine/lexer": "1.*"  #     NOTE: Min version not 1.0 because autoloader required  %global lexer_min_ver    1.0.1 @@ -44,7 +43,7 @@  Name:          php-%{composer_vendor}-%{composer_project}  Version:       %{github_version} -Release:       1%{?github_release}%{?dist} +Release:       2%{?github_release}%{?dist}  Summary:       PHP docblock annotations parser library  License:       MIT @@ -164,8 +163,10 @@ cat <<'BOOTSTRAP' | tee vendor/autoload.php  <?php  require_once '%{buildroot}%{phpdir}/Doctrine/Common/Annotations/autoload.php';  \Fedora\Autoloader\Dependencies::required([ -    '%{phpdir}/Doctrine/Common/Cache/autoload.php',      [ +        '%{phpdir}/Doctrine/Common/Cache2/autoload.php', +        '%{phpdir}/Doctrine/Common/Cache/autoload.php', +    ], [          '%{phpdir}/Symfony5/Component/Cache/autoload.php',          '%{phpdir}/Symfony4/Component/Cache/autoload.php',      ], @@ -201,6 +202,9 @@ exit $RETURN_CODE  %changelog +* Mon May 17 2021 Remi Collet <remi@remirepo.net> - 1.13.1-2 +- allow doctrine/cache v2 +  * Mon May 17 2021 Remi Collet <remi@remirepo.net> - 1.13.1-1  - update to 1.13.1  - add runtime dependency on psr/cache  | 
