diff options
author | Remi Collet <remi@remirepo.net> | 2019-11-13 15:42:08 +0100 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2019-11-13 15:42:08 +0100 |
commit | cde0f5cfdca91bc738648af1cee7c890eba9e1a6 (patch) | |
tree | bee0a4306ba27130d0fcb83ea239e44773caf59c /php-doctrine-datafixtures.spec | |
parent | 2b7d26c92909bb95ac9bfaeb67ba6a08126ecbce (diff) |
- update to 1.4.0
- raise dependency on PHP 7.2
- raise dependency on doctrine/common 2.11
Diffstat (limited to 'php-doctrine-datafixtures.spec')
-rw-r--r-- | php-doctrine-datafixtures.spec | 29 |
1 files changed, 20 insertions, 9 deletions
diff --git a/php-doctrine-datafixtures.spec b/php-doctrine-datafixtures.spec index 43cc806..6657959 100644 --- a/php-doctrine-datafixtures.spec +++ b/php-doctrine-datafixtures.spec @@ -2,7 +2,7 @@ # # Fedora spec file for php-doctrine-datafixtures # -# Copyright (c) 2013-2017 Shawn Iwinski <shawn.iwinski@gmail.com> +# Copyright (c) 2013-2019 Shawn Iwinski <shawn.iwinski@gmail.com> # # License: MIT # http://opensource.org/licenses/MIT @@ -12,18 +12,17 @@ %global github_owner doctrine %global github_name data-fixtures -%global github_version 1.3.2 -%global github_commit 09b16943b27f3d80d63988d100ff256148c2f78b +%global github_version 1.4.0 +%global github_commit 608a35a3b5bcc4214d116603095f8b0c51091592 %global github_short %(c=%{github_commit}; echo ${c:0:7}) %global composer_vendor doctrine %global composer_project data-fixtures -# "php": "^7.1" -%global php_min_ver 7.1 -# "doctrine/common": "~2.2" -# NOTE: Min version not 2.2 because autoloader required -%global doctrine_common_min_ver 2.5 +# "php": "^7.2" +%global php_min_ver 7.2 +# "doctrine/common": "~2.11" +%global doctrine_common_min_ver 2.11 %global doctrine_common_max_ver 3.0 # "doctrine/orm": "^2.5.4" %global doctrine_orm_min_ver 2.5.4 @@ -31,6 +30,9 @@ # "doctrine/dbal": "^2.5.4" %global doctrine_dbal_min_ver 2.5.4 %global doctrine_dbal_max_ver 3.0 +# "alcaeus/mongo-php-adapter": "^1.1" +%global alcaeus_mongo_min_ver 1.1 +%global alcaeus_mongo_max_ver 2 # Build using "--without tests" to disable tests %global with_tests 0%{!?_without_tests:1} @@ -57,6 +59,8 @@ BuildRequires: php(language) >= %{php_min_ver} BuildRequires:(php-composer(doctrine/common) >= %{doctrine_common_min_ver} with php-composer(doctrine/common) < %{doctrine_common_max_ver}) BuildRequires:(php-composer(doctrine/orm) >= %{doctrine_orm_min_ver} with php-composer(doctrine/orm) < %{doctrine_orm_max_ver}) BuildRequires:(php-composer(doctrine/dbal) >= %{doctrine_dbal_min_ver} with php-composer(doctrine/dbal) < %{doctrine_dbal_max_ver}) +BuildRequires:(php-composer(alcaeus/mongo-php-adapter) >= %{alcaeus_mongo_min_ver} with php-composer(alcaeus/mongo-php-adapter) < %{alcaeus_mongo_max_ver}) +# missing doctrine/mongodb-odm %else BuildRequires: php-composer(doctrine/common) < %{doctrine_common_max_ver} BuildRequires: php-composer(doctrine/common) >= %{doctrine_common_min_ver} @@ -64,6 +68,8 @@ BuildRequires: php-composer(doctrine/orm) < %{doctrine_orm_max_ver} BuildRequires: php-composer(doctrine/orm) >= %{doctrine_orm_min_ver} BuildRequires: php-composer(doctrine/dbal) < %{doctrine_dbal_max_ver} BuildRequires: php-composer(doctrine/dbal) >= %{doctrine_dbal_min_ver} +BuildRequires: php-composer(alcaeus/mongo-php-adapter) < %{alcaeus_mongo_max_ver} +BuildRequires: php-composer(alcaeus/mongo-php-adapter) >= %{alcaeus_mongo_min_ver} %endif BuildRequires: phpunit7 ## phpcompatinfo (computed from version 1.0.2) @@ -79,8 +85,8 @@ Requires: php(language) >= %{php_min_ver} %if 0%{?fedora} >= 27 || 0%{?rhel} >= 8 Requires: (php-composer(doctrine/common) >= %{doctrine_common_min_ver} with php-composer(doctrine/common) < %{doctrine_common_max_ver}) # composer.json: optional -Suggests: php-composer(doctrine/orm) Suggests: php-composer(alcaeus/mongo-php-adapter) +# missing option doctrine/mongodb-odm %else Requires: php-composer(doctrine/common) < %{doctrine_common_max_ver} Requires: php-composer(doctrine/common) >= %{doctrine_common_min_ver} @@ -172,6 +178,11 @@ exit $RETURN_CODE %changelog +* Wed Nov 13 2019 Remi Collet <remi@remirepo.net> - 1.4.0-1 +- update to 1.4.0 +- raise dependency on PHP 7.2 +- raise dependency on doctrine/common 2.11 + * Thu Jul 11 2019 Remi Collet <remi@remirepo.net> - 1.3.2-1 - update to 1.3.2 - sources from git snapshot because of .gitattributes |