From 963ae6e0c0e367610bd5a28b34fe1db23915e902 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 23 Nov 2020 10:17:51 +0100 Subject: update to 1.3.0 (no change) raise dependency on PHP 7.3 raise dependency on laminas-diactoros 2.1.1 switch to phpunit9 --- php-laminas-httphandlerrunner.spec | 37 ++++++++++++++++++++----------------- 1 file changed, 20 insertions(+), 17 deletions(-) (limited to 'php-laminas-httphandlerrunner.spec') diff --git a/php-laminas-httphandlerrunner.spec b/php-laminas-httphandlerrunner.spec index 7836e31..e147a32 100644 --- a/php-laminas-httphandlerrunner.spec +++ b/php-laminas-httphandlerrunner.spec @@ -7,7 +7,7 @@ # Please, preserve the changelog entries # %global bootstrap 0 -%global gh_commit e1a5dad040e0043135e8095ee27d1fbf6fb640e1 +%global gh_commit e8f850bd12cb82b268ff235fe74b2df906e8bfe8 %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner laminas %global gh_project laminas-httphandlerrunner @@ -22,7 +22,7 @@ %endif Name: php-%{gh_project} -Version: 1.2.0 +Version: 1.3.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) >= 5.6 +BuildRequires: php(language) >= 7.3 # remirepo:1 %if 0%{?fedora} >= 27 || 0%{?rhel} >= 8 BuildRequires: (php-autoloader(%{gh_owner}/laminas-zendframework-bridge) >= 1.0 with php-autoloader(%{gh_owner}/laminas-zendframework-bridge) < 2) @@ -42,18 +42,18 @@ BuildRequires: (php-composer(psr/http-message) >= 1.0 BuildRequires: (php-composer(psr/http-server-handler) >= 1.0 with php-composer(psr/http-server-handler) < 2) # From composer, "require-dev": { # "laminas/laminas-coding-standard": "~1.0.0", -# "laminas/laminas-diactoros": "^1.7 || ^2.1.1", -# "phpunit/phpunit": "^7.0.2" -BuildRequires: (php-autoloader(%{gh_owner}/laminas-diactoros) >= 1.7 with php-autoloader(%{gh_owner}/laminas-diactoros) < 3) +# "laminas/laminas-diactoros": "^2.1.1", +# "phpunit/phpunit": "^9.3" +BuildRequires: (php-autoloader(%{gh_owner}/laminas-diactoros) >= 2.1.1 with php-autoloader(%{gh_owner}/laminas-diactoros) < 3) # remirepo:6 %else BuildRequires: php-laminas-zendframework-bridge BuildRequires: php-psr-http-message BuildRequires: php-psr-http-server-handler -BuildRequires: php-laminas-diactoros +BuildRequires: php-laminas-diactoros2 %endif -%global phpunit %{_bindir}/phpunit7 -BuildRequires: phpunit7 >= 7.0.2 +%global phpunit %{_bindir}/phpunit9 +BuildRequires: phpunit9 >= 9.3 BuildRequires: php-pcre BuildRequires: php-spl %endif @@ -61,12 +61,12 @@ BuildRequires: php-spl BuildRequires: php-fedora-autoloader-devel # From composer, "require": { -# "php": "^7.1", +# "php": "^7.3 || ~8.0.0", # "laminas/laminas-zendframework-bridge": "^1.0", # "psr/http-message": "^1.0", # "psr/http-message-implementation": "^1.0", # "psr/http-server-handler": "^1.0" -Requires: php(language) >= 7.1 +Requires: php(language) >= 7.3 # remirepo:1 %if 0%{?fedora} >= 27 || 0%{?rhel} >= 8 Requires: (php-autoloader(%{gh_owner}/laminas-zendframework-bridge) >= 1.0 with php-autoloader(%{gh_owner}/laminas-zendframework-bridge) < 2) @@ -147,10 +147,7 @@ cat << 'EOF' | tee vendor/autoload.php - 1.3.0-1 +- update to 1.3.0 (no change) +- raise dependency on PHP 7.3 +- raise dependency on laminas-diactoros 2.1.1 +- switch to phpunit9 + * Thu Jun 4 2020 Remi Collet - 1.2.0-1 - update to 1.2.0 -- cgit