diff options
author | Remi Collet <remi@remirepo.net> | 2021-03-25 10:20:11 +0100 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2021-03-25 10:20:11 +0100 |
commit | 4d97d0a3df371e7ca602e3702a6f1c51e791e444 (patch) | |
tree | aa02b4555c4c26c1a7e253346b093f35aacc76c0 | |
parent | 34ebe3611c25556c81e0b311ecb1152b1801f0ad (diff) |
-rw-r--r-- | php-laminas-stratigility.spec | 13 |
1 files 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 <remi@remirepo.net> - 2.2.2p2-4 +- switch to phpunit7 + * Mon Mar 30 2020 Remi Collet <remi@remirepo.net> - 2.2.2p2-1 - update to 2.2.2p2 (no change) |