From 3bdee7c4b9697ab1afe7fda7ff1f021335eb0a9e Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 17 Oct 2022 14:00:35 +0200 Subject: update to 2.17.0 raise dependency on PHP 8.0 --- composer.json | 6 +++--- php-laminas-http.spec | 37 ++++++++++++++++--------------------- 2 files changed, 19 insertions(+), 24 deletions(-) diff --git a/composer.json b/composer.json index bc44f89..493c6de 100644 --- a/composer.json +++ b/composer.json @@ -23,7 +23,7 @@ "sort-packages": true }, "require": { - "php": "^7.3 || ~8.0.0 || ~8.1.0", + "php": "~8.0.0 || ~8.1.0 || ~8.2.0", "laminas/laminas-loader": "^2.8", "laminas/laminas-stdlib": "^3.6", "laminas/laminas-uri": "^2.9.1", @@ -31,8 +31,8 @@ }, "require-dev": { "ext-curl": "*", - "laminas/laminas-coding-standard": "~2.2.1", - "phpunit/phpunit": "^9.5.5" + "laminas/laminas-coding-standard": "~2.4.0", + "phpunit/phpunit": "^9.5.25" }, "suggest": { "paragonie/certainty": "For automated management of cacert.pem" diff --git a/php-laminas-http.spec b/php-laminas-http.spec index ebf3185..877316f 100644 --- a/php-laminas-http.spec +++ b/php-laminas-http.spec @@ -7,7 +7,7 @@ # Please, preserve the changelog entries # %global bootstrap 0 -%global gh_commit 7300482d3e570e81b6a6ecf6b28da1b12334bf63 +%global gh_commit ac4588d698c93b56bb7c0608d9a7537a3f057239 %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner laminas %global gh_project laminas-http @@ -22,7 +22,7 @@ %endif Name: php-%{gh_project} -Version: 2.16.0 +Version: 2.17.0 Release: 1%{?dist} Summary: %{namespace} Framework %{library} component @@ -34,7 +34,7 @@ Source1: makesrc.sh BuildArch: noarch # Tests %if %{with_tests} -BuildRequires: php(language) >= 7.3 +BuildRequires: php(language) >= 8.0 BuildRequires: php-ctype BuildRequires: php-curl BuildRequires: php-date @@ -52,32 +52,29 @@ BuildRequires: (php-autoloader(%{gh_owner}/laminas-validator) >= 2.15 BuildRequires: (php-autoloader(%{gh_owner}/laminas-zendframework-bridge) >= 1.0 with php-autoloader(%{gh_owner}/laminas-zendframework-bridge) < 2) # From composer, "require-dev": { # "ext-curl": "*", -# "laminas/laminas-coding-standard": "~1.0.0", -# "laminas/laminas-config": "^3.1 || ^2.6", -# "phpunit/phpunit": "^9.3" -BuildRequires: (php-autoloader(%{gh_owner}/laminas-config) >= 2.6 with php-autoloader(%{gh_owner}/laminas-config) < 4) -# remirepo:8 +# "laminas/laminas-coding-standard": "~2.4.0", +# "phpunit/phpunit": "^9.5.25" +# remirepo:7 %else BuildRequires: php-laminas-loader BuildRequires: php-laminas-stdlib BuildRequires: php-laminas-uri BuildRequires: php-laminas-validator BuildRequires: php-laminas-zendframework-bridge -BuildRequires: php-laminas-config %endif %global phpunit %{_bindir}/phpunit9 -BuildRequires: phpunit9 >= 9.3 +BuildRequires: phpunit9 >= 9.5.25 %endif # Autoloader BuildRequires: php-fedora-autoloader-devel # From composer, "require": { -# "php": "^7.3 || ~8.0.0 || ~8.1.0", +# "php": "~8.0.0 || ~8.1.0 || ~8.2.0", # "laminas/laminas-loader": "^2.8", # "laminas/laminas-stdlib": "^3.6", # "laminas/laminas-uri": "^2.9.1", # "laminas/laminas-validator": "^2.15" -Requires: php(language) >= 7.3 +Requires: php(language) >= 8.0 %if ! %{bootstrap} # remirepo:1 %if 0%{?fedora} >= 27 || 0%{?rhel} >= 8 @@ -171,12 +168,6 @@ mkdir vendor cat << 'EOF' | tee vendor/autoload.php - 2.17.0-1 +- update to 2.17.0 +- raise dependency on PHP 8.0 + * Thu Aug 18 2022 Remi Collet - 2.16.0-1 - update to 2.16.0 -- cgit