diff options
-rw-r--r-- | composer.json | 4 | ||||
-rw-r--r-- | php-mongodb.spec | 46 |
2 files changed, 19 insertions, 31 deletions
diff --git a/composer.json b/composer.json index e313c57..fceee11 100644 --- a/composer.json +++ b/composer.json @@ -13,7 +13,7 @@ "php": "^7.4 || ^8.0", "ext-hash": "*", "ext-json": "*", - "ext-mongodb": "^1.18.0", + "ext-mongodb": "^1.20.0", "composer-runtime-api": "^2.0", "psr/log": "^1.1.4|^2|^3", "symfony/polyfill-php80": "^1.27", @@ -21,7 +21,7 @@ }, "require-dev": { "doctrine/coding-standard": "^12.0", - "rector/rector": "^0.19", + "rector/rector": "^1.1", "squizlabs/php_codesniffer": "^3.7", "symfony/phpunit-bridge": "^5.2", "vimeo/psalm": "^5.13" diff --git a/php-mongodb.spec b/php-mongodb.spec index d9a9de1..805e66f 100644 --- a/php-mongodb.spec +++ b/php-mongodb.spec @@ -6,20 +6,21 @@ # # Please, preserve the changelog entries # + # disabled for https://fedoraproject.org/wiki/Changes/MongoDB_Removal %bcond_with tests -%global gh_commit cbc8104c0b2c32b7cf572ff759324c872e8dc63a +%global gh_commit 75da9ea3b63d97b05e0e8648d8c09a17bc54c0b6 %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner mongodb %global gh_project mongo-php-library %global psr0 MongoDB -%global upstream_version 1.19.0 +%global upstream_version 1.20.0 #global upstream_prever alpha1 #global upstream_lower alpha1 -%global ext_version 1.18.0 +%global ext_version 1.20.0 Name: php-%{gh_owner} Version: %{upstream_version}%{?upstream_prever:~%{upstream_lower}} @@ -36,7 +37,7 @@ Source1: makesrc.sh Patch0: %{name}-rpm.patch BuildArch: noarch -BuildRequires: php(language) >= 7.4 +BuildRequires: php(language) >= 8.1 BuildRequires: php-cli BuildRequires: php-reflection BuildRequires: php-date @@ -44,17 +45,7 @@ BuildRequires: php-dom BuildRequires: php-hash BuildRequires: php-json BuildRequires: php-spl -# remirepo:1 -%if 0%{?fedora} >= 31 || 0%{?rhel} >= 8 BuildRequires: (php-composer(psr/log) >= 1.1.4 with php-composer(psr/log) < 4) -BuildRequires: (php-composer(symfony/polyfill-php80) >= 1.27 with php-composer(symfony/polyfill-php80) < 2) -BuildRequires: (php-composer(symfony/polyfill-php81) >= 1.27 with php-composer(symfony/polyfill-php81) < 2) -# remirepo:5 -%else -BuildRequires: php-PsrLog >= 1.1.4 -BuildRequires: php-symfony-polyfill < 2 -BuildRequires: php-symfony-polyfill >= 1.27 -%endif %if %{with tests} BuildRequires: mongodb-server >= 2.4 BuildRequires: php-pecl(mongodb) >= %{ext_version} @@ -80,21 +71,11 @@ BuildRequires: php-composer(fedora/autoloader) # "psr/log": "^1.1.4|^2|^3", # "symfony/polyfill-php80": "^1.27", # "symfony/polyfill-php81": "^1.27" -Requires: php(language) >= 7.4 +Requires: php(language) >= 8.1 Requires: php-hash Requires: php-json Requires: php-pecl(mongodb) >= %{ext_version} -# remirepo:1 -%if 0%{?fedora} >= 31 || 0%{?rhel} >= 8 Requires: (php-composer(psr/log) >= 1.1.4 with php-composer(psr/log) < 4) -Requires: (php-composer(symfony/polyfill-php80) >= 1.27 with php-composer(symfony/polyfill-php80) < 2) -Requires: (php-composer(symfony/polyfill-php81) >= 1.27 with php-composer(symfony/polyfill-php81) < 2) -# remirepo:5 -%else -Requires: php-PsrLog >= 1.1.4 -Requires: php-symfony-polyfill < 2 -Requires: php-symfony-polyfill >= 1.27 -%endif # From phpcompatinfo report for 1.8.0 Requires: php-reflection Requires: php-date @@ -135,7 +116,6 @@ require_once __DIR__. '/functions.php'; '%{_datadir}/php/Psr/Log2/autoload.php', '%{_datadir}/php/Psr/Log/autoload.php', ], - '%{_datadir}/php/Symfony/Polyfill/autoload.php', ]); EOF @@ -207,16 +187,24 @@ exit $ret %files -# remirepo:1 -%{!?_licensedir:%global license %%doc} %license LICENSE %doc composer.json %doc *.md -%doc docs %{_datadir}/php/%{psr0} %changelog +* Wed Sep 25 2024 Remi Collet <remi@remirepo.net> - 1.20.0-1 +- update to 1.20.0 +- drop docs +- raise dependency on mongodb extension version 1.20 + +* Mon Sep 9 2024 Remi Collet <remi@remirepo.net> - 1.19.1-3 +- drop dependency on symfony/polyfill + +* Fri Jun 14 2024 Remi Collet <remi@remirepo.net> - 1.19.1-1 +- update to 1.19.1 (no change) + * Tue May 14 2024 Remi Collet <remi@remirepo.net> - 1.19.0-1 - update to 1.19.0 |