From 4d97d0a3df371e7ca602e3702a6f1c51e791e444 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 25 Mar 2021 10:20:11 +0100 Subject: switch to phpunit7 --- php-laminas-stratigility.spec | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/php-laminas-stratigility.spec b/php-laminas-stratigility.spec index 7fc0d6d..5a9d4aa 100644 --- a/php-laminas-stratigility.spec +++ b/php-laminas-stratigility.spec @@ -1,6 +1,6 @@ # remirepo/Fedora spec file for stratigility # -# Copyright (c) 2016-2020 Remi Collet +# Copyright (c) 2016-2021 Remi Collet # License: CC-BY-SA # http://creativecommons.org/licenses/by-sa/4.0/ # @@ -23,7 +23,7 @@ Name: php-%{gh_project} Version: 2.2.2p2 -Release: 1%{?dist} +Release: 4%{?dist} Summary: Middleware for PHP License: BSD @@ -58,7 +58,7 @@ BuildRequires: php-pcre BuildRequires: php-reflection BuildRequires: php-spl %if %{with_tests} -BuildRequires: phpunit6 >= 6.4.1 +BuildRequires: phpunit7 %endif # Autoloader BuildRequires: php-fedora-autoloader-devel @@ -169,9 +169,9 @@ exit (class_exists("\\Zend\\%{library}\\Route") ? 0 : 1); %if %{with_tests} : upstream test suite ret=0 -for cmd in php php72 php73 php74; do +for cmd in php php73 php74 php80; do if which $cmd; then - $cmd %{_bindir}/phpunit6 || ret=1 + $cmd %{_bindir}/phpunit7 || ret=1 fi done exit $ret @@ -191,6 +191,9 @@ exit $ret %changelog +* Thu Mar 25 2021 Remi Collet - 2.2.2p2-4 +- switch to phpunit7 + * Mon Mar 30 2020 Remi Collet - 2.2.2p2-1 - update to 2.2.2p2 (no change) -- cgit