diff options
author | Remi Collet <remi@remirepo.net> | 2021-12-15 10:43:53 +0100 |
---|---|---|
committer | Remi Collet <remi@php.net> | 2021-12-15 10:43:53 +0100 |
commit | 9055c37fcea1339466b2a701e4fb3941ae9a3093 (patch) | |
tree | 54fbb81ad4c2f98cc1ab5f2c62fd6c6f8ea26c4d | |
parent | 293f76e3a75c30e585c875b40066c8288d4e4288 (diff) |
update to 1.11.0
raise dependency on PHP 7.2
raise dependency on mongodb extension version 1.12
-rw-r--r-- | composer.json | 6 | ||||
-rw-r--r-- | php-mongodb.spec | 18 |
2 files changed, 15 insertions, 9 deletions
diff --git a/composer.json b/composer.json index 4493881..915b429 100644 --- a/composer.json +++ b/composer.json @@ -9,10 +9,10 @@ { "name": "Jeremy Mikola", "email": "jmikola@gmail.com" } ], "require": { - "php": "^7.1 || ^8.0", + "php": "^7.2 || ^8.0", "ext-hash": "*", "ext-json": "*", - "ext-mongodb": "^1.11.0", + "ext-mongodb": "^1.12.0", "jean85/pretty-package-versions": "^1.2 || ^2.0.1", "symfony/polyfill-php80": "^1.19" }, @@ -31,7 +31,7 @@ }, "extra": { "branch-alias": { - "dev-master": "1.10.x-dev" + "dev-master": "1.11.x-dev" } } } diff --git a/php-mongodb.spec b/php-mongodb.spec index 9f2d0ce..df5e273 100644 --- a/php-mongodb.spec +++ b/php-mongodb.spec @@ -9,18 +9,18 @@ # disabled for https://fedoraproject.org/wiki/Changes/MongoDB_Removal %bcond_with tests -%global gh_commit 9e0da590ec94e8af9a0ee065294627ffaee6244e +%global gh_commit e4aa59ab15b6fe00a0e56b6772f8b515a0f01bf0 %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner mongodb #global gh_date 20151102 %global gh_project mongo-php-library %global psr0 MongoDB -%global upstream_version 1.10.1 +%global upstream_version 1.11.0 #global upstream_prever alpha1 #global upstream_lower alpha1 -%global ext_version 1.11 +%global ext_version 1.12 Name: php-%{gh_owner} Version: %{upstream_version}%{?upstream_prever:~%{upstream_lower}} @@ -39,7 +39,7 @@ Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit Patch0: %{name}-rpm.patch BuildArch: noarch -BuildRequires: php(language) >= 7.1 +BuildRequires: php(language) >= 7.2 BuildRequires: php-cli BuildRequires: php-reflection BuildRequires: php-date @@ -80,7 +80,7 @@ BuildRequires: php-composer(fedora/autoloader) # "ext-mongodb": "^1.8.1" # "jean85/pretty-package-versions": "^1.2 || ^2.0.1" # "symfony/polyfill-php80": "^1.19" -Requires: php(language) >= 7.1 +Requires: php(language) >= 7.2 Requires: php-hash Requires: php-json Requires: php-pecl(mongodb) >= %{ext_version} @@ -182,7 +182,7 @@ EOF : Run the test suite ret=0 -for cmdarg in "php %{phpunit}" "php72 %{_bindir}/phpunit8" php73 php74 php80; do +for cmdarg in "php %{phpunit}" php73 php74 php80 php81; do if which $cmdarg; then set $cmdarg $1 ${2:-%{_bindir}/phpunit9} --verbose || ret=1 @@ -199,6 +199,7 @@ exit $ret %files +# remirepo:1 %{!?_licensedir:%global license %%doc} %license LICENSE %doc composer.json @@ -208,6 +209,11 @@ exit $ret %changelog +* Wed Dec 15 2021 Remi Collet <remi@remirepo.net> - 1.11.0-1 +- update to 1.11.0 +- raise dependency on PHP 7.2 +- raise dependency on mongodb extension version 1.12 + * Wed Dec 8 2021 Remi Collet <remi@remirepo.net> - 1.10.1-1 - update to 1.10.1 |