From 8d6d5c2d9e7e53591f991b9fdc49294bada8337f Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 6 Jul 2020 12:28:00 +0200 Subject: update to 2.13.0 raise dependency on PHP 7.1.3 switch to phpunit8 --- php-twig2.spec | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) (limited to 'php-twig2.spec') diff --git a/php-twig2.spec b/php-twig2.spec index 0fd5902..323de07 100644 --- a/php-twig2.spec +++ b/php-twig2.spec @@ -13,18 +13,18 @@ %global with_tests 0%{!?_without_tests:1} %global github_owner twigphp %global github_name Twig -%global github_commit 18772e0190734944277ee97a02a9a6c6555fcd94 +%global github_commit 46a612ba1bbf6ee1c58acabacd868212ff8a2911 %global github_short %(c=%{github_commit}; echo ${c:0:7}) %global composer_vendor twig %global composer_project twig -# "php": "^7.0" -%global php_min_ver 7.0 +# "php": ">=7.1.3" +%global php_min_ver 7.1.3 %global phpdir %{_datadir}/php Name: php-%{composer_project}2 -Version: 2.12.5 +Version: 2.13.0 Release: 1%{?dist} Summary: The flexible, fast, and secure template engine for PHP @@ -39,7 +39,7 @@ BuildRequires: php-fedora-autoloader-devel %if %{with_tests} # For tests BuildRequires: php(language) >= 7.1 -BuildRequires: phpunit7 +BuildRequires: phpunit8 # remirepo:1 %if 0%{?fedora} >= 27 || 0%{?rhel} >= 8 BuildRequires: (php-composer(psr/container) >= 1.0 with php-composer(psr/container) < 2) @@ -157,9 +157,9 @@ sed -e '/listener/d' phpunit.xml.dist > phpunit.xml RETURN_CODE=0 : Upstream tests with SCLs if available -for SCL in php php71 php72 php73 php74; do +for SCL in php php72 php73 php74 php80; do if which $SCL; then - $SCL %{_bindir}/phpunit7 --verbose || RETURN_CODE=1 + $SCL %{_bindir}/phpunit8 --verbose || RETURN_CODE=1 fi done exit $RETURN_CODE @@ -177,6 +177,11 @@ exit $RETURN_CODE %changelog +* Mon Jul 6 2020 Remi Collet - 2.13.0-1 +- update to 2.13.0 +- raise dependency on PHP 7.1.3 +- switch to phpunit8 + * Wed Feb 12 2020 Remi Collet - 2.12.5-1 - update to 2.12.5 -- cgit