From 8cc665fde1921e1fa04e61c2d3c896959cd46d7c Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 4 Aug 2023 08:53:13 +0200 Subject: [PATCH] v10.3.0 --- phpunit10-rpm.patch | 3 ++- phpunit10.spec | 9 ++++++--- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/phpunit10-rpm.patch b/phpunit10-rpm.patch index f4f7c81..2e82286 100644 --- a/phpunit10-rpm.patch +++ b/phpunit10-rpm.patch @@ -72,7 +72,7 @@ diff -up ./tests/bootstrap.php.rpm ./tests/bootstrap.php if ($composer && $phar) { print 'More than one test fixture autoloader is available, exiting.' . PHP_EOL; -@@ -28,10 +28,14 @@ if (!$composer && !$phar) { +@@ -28,10 +28,15 @@ if (!$composer && !$phar) { if ($composer) { if (!defined('PHPUNIT_COMPOSER_INSTALL')) { @@ -84,6 +84,7 @@ diff -up ./tests/bootstrap.php.rpm ./tests/bootstrap.php + require_once PHPUNIT_COMPOSER_INSTALL; + require_once __DIR__ . '/_files/CoverageNamespacedFunctionTest.php'; + require_once __DIR__ . '/_files/CoveredFunction.php'; ++ require_once __DIR__ . '/_files/Generator.php'; + require_once __DIR__ . '/_files/NamespaceCoveredFunction.php'; + require_once __DIR__ . '/autoload.php'; } diff --git a/phpunit10.spec b/phpunit10.spec index a402da1..f28754e 100644 --- a/phpunit10.spec +++ b/phpunit10.spec @@ -11,7 +11,7 @@ %bcond_without tests -%global gh_commit a215d9ee8bac1733796e4ddff3306811f14414e5 +%global gh_commit c87ae282d17b256d09cfef0eb4f5db2d09cfd36a #global gh_date 20150927 %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner sebastianbergmann @@ -23,9 +23,9 @@ %global ns_vendor PHPUnit10 %global php_home %{_datadir}/php %global ver_major 10 -%global ver_minor 2 +%global ver_minor 3 -%global upstream_version 10.2.7 +%global upstream_version 10.3.0 #global upstream_prever dev Name: %{pk_project}%{ver_major} @@ -249,6 +249,9 @@ exit $ret %changelog +* Fri Aug 4 2023 Remi Collet - 10.3.0-1 +- update to 10.3.0 + * Wed Aug 2 2023 Remi Collet - 10.2.7-1 - update to 10.2.7 - raise dependency on sebastian/global-state 6.0.1