From f11821891b6ba9e415ade373de6d126be106e0cd Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 22 Dec 2023 14:16:10 +0100 Subject: fix possible autoloader issue with phpspec/prophecy --- phpunit8.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/phpunit8.spec b/phpunit8.spec index 8cac8f4..78974bd 100644 --- a/phpunit8.spec +++ b/phpunit8.spec @@ -31,7 +31,7 @@ Name: %{pk_project}%{ver_major} Version: %{upstream_version}%{?upstream_prever:~%{upstream_prever}} -Release: 1%{?dist} +Release: 2%{?dist} Summary: The PHP Unit Testing framework version %{ver_major} License: BSD-3-Clause @@ -225,7 +225,6 @@ cat << 'EOF' | tee -a src/autoload.php '%{php_home}/Text/Template/Autoload.php', '%{php_home}/SebastianBergmann/CodeCoverage7/autoload.php', '%{php_home}/SebastianBergmann/Timer/autoload.php', - '%{php_home}/Prophecy/autoload.php', '%{php_home}/SebastianBergmann/Diff3/autoload.php', // Before comparator which may load v2 '%{php_home}/SebastianBergmann/Comparator3/autoload.php', '%{php_home}/SebastianBergmann/Environment4/autoload.php', @@ -240,6 +239,8 @@ cat << 'EOF' | tee -a src/autoload.php '%{php_home}/SebastianBergmann/Invoker/autoload.php', '%{php_home}/PharIo/Manifest2/autoload.php', '%{php_home}/PharIo/Version3/autoload.php', + // May load Comparator/RecursionContext bad version + '%{php_home}/Prophecy/autoload.php', ]); // Extensions \Fedora\Autoloader\Dependencies::optional( @@ -291,6 +292,9 @@ exit $ret %changelog +* Fri Dec 22 2023 Remi Collet - 8.5.36-2 +- fix possible autoloader issue with phpspec/prophecy + * Sat Dec 2 2023 Remi Collet - 8.5.36-1 - update to 8.5.36 (no change) -- cgit