From a120e926bccd14688a0f0f898d9a2e4f7a650ae4 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 16 Nov 2022 13:55:20 +0100 Subject: update to 1.5.0 (no change) raise dependency on PHP 8.0 --- composer.json | 7 +++++-- php-laminas-xml.spec | 18 +++++++++++------- 2 files changed, 16 insertions(+), 9 deletions(-) diff --git a/composer.json b/composer.json index e7f0e1b..5774419 100644 --- a/composer.json +++ b/composer.json @@ -16,10 +16,13 @@ "forum": "https://discourse.laminas.dev" }, "config": { - "sort-packages": true + "sort-packages": true, + "platform": { + "php": "8.0.99" + } }, "require": { - "php": "^7.3 || ~8.0.0 || ~8.1.0", + "php": "~8.0.0 || ~8.1.0 || ~8.2.0", "ext-dom": "*", "ext-simplexml": "*" }, diff --git a/php-laminas-xml.spec b/php-laminas-xml.spec index 0d5f70a..660ec8f 100644 --- a/php-laminas-xml.spec +++ b/php-laminas-xml.spec @@ -1,13 +1,13 @@ # remirepo/Fedora spec file for php-laminas-xml # -# Copyright (c) 2015-2021 Remi Collet +# Copyright (c) 2015-2022 Remi Collet # License: CC-BY-SA # http://creativecommons.org/licenses/by-sa/4.0/ # # Please, preserve the changelog entries # %global bootstrap 0 -%global gh_commit dcadeefdb6d7ed6b39d772b47e3845003d6ea60f +%global gh_commit 30a4da5a003971de8f54e6810e742fe375e5d5d3 %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner laminas %global gh_project laminas-xml @@ -22,7 +22,7 @@ %endif Name: php-%{gh_project} -Version: 1.4.0 +Version: 1.5.0 Release: 1%{?dist} Summary: Laminas 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 # 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) @@ -58,10 +58,10 @@ BuildRequires: php-iconv 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", # "ext-dom": "*", # "ext-simplexml": "*" -Requires: php(language) >= 7.3 +Requires: php(language) >= 8.0 Requires: php-dom Requires: php-simplexml # remirepo:1 @@ -135,7 +135,7 @@ EOF : upstream test suite ret=0 -for cmd in php php74 php80 php81; do +for cmd in php php80 php81 php82; do if which $cmd; then $cmd %{_bindir}/phpunit9 --verbose || ret=1 fi @@ -164,6 +164,10 @@ exit $ret %changelog +* Wed Nov 16 2022 Remi Collet - 1.5.0-1 +- update to 1.5.0 (no change) +- raise dependency on PHP 8.0 + * Tue Nov 30 2021 Remi Collet - 1.4.0-1 - update to 1.4.0 - keep compatibility using laminas-zendframework-bridge -- cgit