diff --git a/.gitignore b/.gitignore index 1f7de30..088580a 100644 --- a/.gitignore +++ b/.gitignore @@ -35,32 +35,3 @@ /phpunit9-9.5.24-d0aa609.tgz /phpunit9-9.5.25-3e6f90c.tgz /phpunit9-9.5.26-851867e.tgz -/phpunit9-9.5.27-a2bc7ff.tgz -/phpunit9-9.5.28-954ca31.tgz -/phpunit9-9.6.0-70fc8be.tgz -/phpunit9-9.6.3-e7b1615.tgz -/phpunit9-9.6.4-9125ee0.tgz -/phpunit9-9.6.5-86e7619.tgz -/phpunit9-9.6.6-b65d59a.tgz -/phpunit9-9.6.7-c993f0d.tgz -/phpunit9-9.6.8-17d621b.tgz -/phpunit9-9.6.9-a9aceaf.tgz -/phpunit9-9.6.10-a6d3516.tgz -/phpunit9-9.6.11-810500e.tgz -/phpunit9-9.6.12-a122c2e.tgz -/phpunit9-9.6.13-f3d767f.tgz -/phpunit9-9.6.14-43653e6.tgz -/phpunit9-9.6.15-05017b8.tgz -/phpunit9-9.6.16-3767b2c.tgz -/phpunit9-9.6.17-1a15698.tgz -/phpunit9-9.6.18-32c2c2d.tgz -/phpunit9-9.6.19-a1a54a4.tgz -/phpunit9-9.6.20-49d7820.tgz -/phpunit9-9.6.21-de6abf3.tgz -/phpunit9-9.6.22-f80235c.tgz -/phpunit9-9.6.23-43d2cb1.tgz -/phpunit9-9.6.25-049c011.tgz -/phpunit9-9.6.26-a0139ea.tgz -/phpunit9-9.6.27-0a9aa44.tgz -/phpunit9-9.6.29-9ecfec5.tgz -/phpunit9-9.6.30-b69489b.tgz diff --git a/makesrc.sh b/makesrc.sh index c85b319..3580b58 100755 --- a/makesrc.sh +++ b/makesrc.sh @@ -1,27 +1,24 @@ #!/bin/bash NAME=$(basename $PWD) -DATE=$(sed -n '/^%global gh_date/{s/.* //;p}' $NAME.spec) OWNER=$(sed -n '/^%global gh_owner/{s/.* //;p}' $NAME.spec) PROJECT=$(sed -n '/^%global gh_project/{s/.* //;p}' $NAME.spec) VERSION=$(sed -n '/^%global upstream_version/{s/.* //;p}' $NAME.spec) COMMIT=$(sed -n '/^%global gh_commit/{s/.* //;p}' $NAME.spec) SHORT=${COMMIT:0:7} -DATE=$(date -d "$DATE -4 days" +%Y-%m-%d) - if [ -f $NAME-$VERSION-$SHORT.tgz ]; then echo "$NAME-$VERSION-$SHORT.tgz already there" else - echo -e "\nCreate git snapshot\nName=$NAME, Owner=$OWNER, Project=$PROJECT, Version=$VERSION, Date=$DATE\n" + echo -e "\nCreate git snapshot\nName=$NAME, Owner=$OWNER, Project=$PROJECT, Version=$VERSION\n" echo "Cloning..." rm -rf $PROJECT-$COMMIT - git clone https://github.com/$OWNER/$PROJECT.git $PROJECT-$COMMIT || exit 1 + git clone https://github.com/$OWNER/$PROJECT.git $PROJECT-$COMMIT echo "Getting commit..." pushd $PROJECT-$COMMIT - git checkout $COMMIT || exit 1 + git checkout $COMMIT || exit1 cp composer.json ../composer.json popd diff --git a/phpunit9-rpm.patch b/phpunit9-rpm.patch index 7e082fe..0360db7 100644 --- a/phpunit9-rpm.patch +++ b/phpunit9-rpm.patch @@ -1,7 +1,7 @@ diff -up ./phpunit.rpm ./phpunit ---- ./phpunit.rpm 2024-03-21 13:50:22.000000000 +0100 -+++ ./phpunit 2024-03-21 13:59:15.659377103 +0100 -@@ -71,27 +71,11 @@ if (isset($GLOBALS['_composer_autoload_p +--- ./phpunit.rpm 2021-12-30 09:04:15.000000000 +0100 ++++ ./phpunit 2021-12-30 09:05:07.774778660 +0100 +@@ -62,27 +62,11 @@ if (isset($GLOBALS['_composer_autoload_p define('PHPUNIT_COMPOSER_INSTALL', $GLOBALS['_composer_autoload_path']); unset($GLOBALS['_composer_autoload_path']); @@ -33,60 +33,20 @@ diff -up ./phpunit.rpm ./phpunit } $options = getopt('', array('prepend:')); -@@ -104,4 +88,13 @@ unset($options); +@@ -95,4 +79,8 @@ unset($options); require PHPUNIT_COMPOSER_INSTALL; -PHPUnit\TextUI\Command::main(); -+if (class_exists('PHPUnit\\TextUI\\Application')) { -+ // PHPUnit v10 or newer -+ exit((new PHPUnit\TextUI\Application)->run($_SERVER['argv'])); -+} else if (class_exists('PHPUnit_TextUI_Command')) { -+ // PHPUnit v5 or older -+ PHPUnit_TextUI_Command::main(); ++if (class_exists('PHPUnit_TextUI_Command')) { ++ PHPUnit_TextUI_Command::main(); // PHPUnit v5 or older +} else { -+ // PHPUnit v6 to v9 -+ PHPUnit\TextUI\Command::main(); ++ PHPUnit\TextUI\Command::main(); // PHPUnit v6 or newer +} -diff -up ./src/TextUI/Command.php.rpm ./src/TextUI/Command.php ---- ./src/TextUI/Command.php.rpm 2024-03-21 13:50:22.000000000 +0100 -+++ ./src/TextUI/Command.php 2024-03-21 13:59:59.517211974 +0100 -@@ -601,13 +601,13 @@ class Command - $this->printVersionString(); - - $latestVersion = file_get_contents('https://phar.phpunit.de/latest-version-of/phpunit'); -- $latestCompatibleVersion = file_get_contents('https://phar.phpunit.de/latest-version-of/phpunit-' . explode('.', Version::series())[0]); -+ $latestCompatibleVersion = file_get_contents('https://phar.phpunit.de/latest-version-of/phpunit-' . $major=explode('.', Version::series())[0]); - - $notLatest = version_compare($latestVersion, Version::id(), '>'); - $notLatestCompatible = version_compare($latestCompatibleVersion, Version::id(), '>'); - - if ($notLatest || $notLatestCompatible) { -- print 'You are not using the latest version of PHPUnit.' . PHP_EOL; -+ print 'You are not using the latest version of PHPUnit.' . PHP_EOL . PHP_EOL; - } else { - print 'You are using the latest version of PHPUnit.' . PHP_EOL; - } -@@ -618,6 +618,7 @@ class Command - Version::id(), - $latestCompatibleVersion, - ); -+ printf('Try a system update for new phpunit%s package.' . PHP_EOL . PHP_EOL, $major); - } - - if ($notLatest) { -@@ -625,6 +626,7 @@ class Command - 'The latest version is PHPUnit %s.' . PHP_EOL, - $latestVersion, - ); -+ printf('Try to install and use the phpunit%s command.' . PHP_EOL . PHP_EOL, explode('.', $latestVersion)[0]); - } - - exit(TestRunner::SUCCESS_EXIT); diff -up ./src/Util/Xml/SchemaFinder.php.rpm ./src/Util/Xml/SchemaFinder.php ---- ./src/Util/Xml/SchemaFinder.php.rpm 2024-03-21 13:50:22.000000000 +0100 -+++ ./src/Util/Xml/SchemaFinder.php 2024-03-21 13:59:15.659377103 +0100 -@@ -75,6 +75,6 @@ final class SchemaFinder +--- ./src/Util/Xml/SchemaFinder.php.rpm 2021-12-30 09:04:15.000000000 +0100 ++++ ./src/Util/Xml/SchemaFinder.php 2021-12-30 09:04:21.186910890 +0100 +@@ -48,6 +48,6 @@ final class SchemaFinder return __PHPUNIT_PHAR_ROOT__ . '/'; } @@ -95,8 +55,8 @@ diff -up ./src/Util/Xml/SchemaFinder.php.rpm ./src/Util/Xml/SchemaFinder.php } } diff -up ./tests/bootstrap.php.rpm ./tests/bootstrap.php ---- ./tests/bootstrap.php.rpm 2024-03-21 13:50:22.000000000 +0100 -+++ ./tests/bootstrap.php 2024-03-21 13:59:15.659377103 +0100 +--- ./tests/bootstrap.php.rpm 2021-12-30 09:04:15.000000000 +0100 ++++ ./tests/bootstrap.php 2021-12-30 09:04:21.186910890 +0100 @@ -9,8 +9,8 @@ */ const TEST_FILES_PATH = __DIR__ . DIRECTORY_SEPARATOR . '_files' . DIRECTORY_SEPARATOR; diff --git a/phpunit9.spec b/phpunit9.spec index d0a6635..a82e87f 100644 --- a/phpunit9.spec +++ b/phpunit9.spec @@ -1,15 +1,18 @@ # remirepo/fedora spec file for phpunit9 # -# SPDX-FileCopyrightText: Copyright 2010-2025 Remi Collet -# SPDX-License-Identifier: CECILL-2.1 -# http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt +# Copyright (c) 2010-2022 Remi Collet +# +# License: CC-BY-SA +# http://creativecommons.org/licenses/by-sa/4.0/ # # Please, preserve the changelog entries # +# For compatibility with SCL +%undefine __brp_mangle_shebangs -%global gh_commit b69489b312503bf8fa6d75a76916919d7d2fa6d4 -%global gh_date 2025-12-01 +%global gh_commit 851867efcbb6a1b992ec515c71cdcf20d895e9d2 +#global gh_date 20150927 %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner sebastianbergmann %global gh_project phpunit @@ -20,9 +23,9 @@ %global ns_vendor PHPUnit9 %global php_home %{_datadir}/php %global ver_major 9 -%global ver_minor 6 +%global ver_minor 5 -%global upstream_version 9.6.30 +%global upstream_version 9.5.26 #global upstream_prever dev Name: %{pk_project}%{ver_major} @@ -30,7 +33,7 @@ Version: %{upstream_version}%{?upstream_prever:~%{upstream_prever}} Release: 1%{?dist} Summary: The PHP Unit Testing framework version %{ver_major} -License: BSD-3-Clause +License: BSD URL: https://github.com/%{gh_owner}/%{gh_project} Source0: %{name}-%{upstream_version}-%{gh_short}.tgz Source1: makesrc.sh @@ -40,26 +43,26 @@ Patch0: %{name}-rpm.patch BuildArch: noarch BuildRequires: php(language) >= 7.3 -BuildRequires: (php-composer(doctrine/instantiator) >= 1.5.0 with php-composer(doctrine/instantiator) < 3) -BuildRequires: (php-composer(myclabs/deep-copy) >= 1.13.4 with php-composer(myclabs/deep-copy) < 2) -BuildRequires: (php-composer(phar-io/manifest) >= 2.0.4 with php-composer(phar-io/manifest) < 3) -BuildRequires: (php-composer(phar-io/version) >= 3.2.1 with php-composer(phar-io/version) < 4) +BuildRequires: (php-composer(doctrine/instantiator) >= 1.3.1 with php-composer(doctrine/instantiator) < 2) +BuildRequires: (php-composer(myclabs/deep-copy) >= 1.10.1 with php-composer(myclabs/deep-copy) < 2) +BuildRequires: (php-composer(phar-io/manifest) >= 2.0.3 with php-composer(phar-io/manifest) < 3) +BuildRequires: (php-composer(phar-io/version) >= 3.0.2 with php-composer(phar-io/version) < 4) BuildRequires: (php-composer(phpspec/prophecy) >= 1.12.1 with php-composer(phpspec/prophecy) < 2) -BuildRequires: (php-composer(phpunit/php-code-coverage) >= 9.2.31 with php-composer(phpunit/php-code-coverage) < 10) -BuildRequires: (php-composer(phpunit/php-file-iterator) >= 3.0.6 with php-composer(phpunit/php-file-iterator) < 4) +BuildRequires: (php-composer(phpunit/php-code-coverage) >= 9.2.13 with php-composer(phpunit/php-code-coverage) < 10) +BuildRequires: (php-composer(phpunit/php-file-iterator) >= 3.0.4 with php-composer(phpunit/php-file-iterator) < 4) BuildRequires: (php-composer(phpunit/php-invoker) >= 3.1 with php-composer(phpunit/php-invoker) < 4) -BuildRequires: (php-composer(phpunit/php-text-template) >= 2.0.4 with php-composer(phpunit/php-text-template) < 3) -BuildRequires: (php-composer(phpunit/php-timer) >= 5.0.3 with php-composer(phpunit/php-timer) < 6) -BuildRequires: (php-composer(sebastian/cli-parser) >= 1.0.2 with php-composer(sebastian/cli-parser) < 2) -BuildRequires: (php-composer(sebastian/code-unit) >= 1.0.8 with php-composer(sebastian/code-unit) < 2) -BuildRequires: (php-composer(sebastian/comparator) >= 4.0.9 with php-composer(sebastian/comparator) < 5) -BuildRequires: (php-composer(sebastian/diff) >= 4.0.6 with php-composer(sebastian/diff) < 5) -BuildRequires: (php-composer(sebastian/environment) >= 5.1.5 with php-composer(sebastian/environment) < 6) -BuildRequires: (php-composer(sebastian/exporter) >= 4.0.8 with php-composer(sebastian/exporter) < 5) -BuildRequires: (php-composer(sebastian/global-state) >= 5.0.8 with php-composer(sebastian/global-state) < 6) -BuildRequires: (php-composer(sebastian/object-enumerator) >= 4.0.4 with php-composer(sebastian/object-enumerator) < 5) -BuildRequires: (php-composer(sebastian/resource-operations) >= 3.0.4 with php-composer(sebastian/resource-operations) < 4) -BuildRequires: (php-composer(sebastian/type) >= 3.2.1 with php-composer(sebastian/type) < 4) +BuildRequires: (php-composer(phpunit/php-text-template) >= 2.0.2 with php-composer(phpunit/php-text-template) < 3) +BuildRequires: (php-composer(phpunit/php-timer) >= 5.0.1 with php-composer(phpunit/php-timer) < 6) +BuildRequires: (php-composer(sebastian/cli-parser) >= 1.0 with php-composer(sebastian/cli-parser) < 2) +BuildRequires: (php-composer(sebastian/code-unit) >= 1.0.5 with php-composer(sebastian/code-unit) < 2) +BuildRequires: (php-composer(sebastian/comparator) >= 4.0.8 with php-composer(sebastian/comparator) < 5) +BuildRequires: (php-composer(sebastian/diff) >= 4.0.2 with php-composer(sebastian/diff) < 5) +BuildRequires: (php-composer(sebastian/environment) >= 5.1.2 with php-composer(sebastian/environment) < 6) +BuildRequires: (php-composer(sebastian/exporter) >= 4.0.5 with php-composer(sebastian/exporter) < 5) +BuildRequires: (php-composer(sebastian/global-state) >= 5.0 with php-composer(sebastian/global-state) < 6) +BuildRequires: (php-composer(sebastian/object-enumerator) >= 4.0.2 with php-composer(sebastian/object-enumerator) < 5) +BuildRequires: (php-composer(sebastian/resource-operations) >= 3.0.2 with php-composer(sebastian/resource-operations) < 4) +BuildRequires: (php-composer(sebastian/type) >= 3.2 with php-composer(sebastian/type) < 4) BuildRequires: (php-composer(sebastian/version) >= 3.0.1 with php-composer(sebastian/version) < 4) BuildRequires: php-dom BuildRequires: php-json @@ -78,25 +81,25 @@ BuildRequires: php-fedora-autoloader-devel >= 1.0.0 # "ext-mbstring": "*", # "ext-xml": "*", # "ext-xmlwriter": "*", -# "doctrine/instantiator": "^1.5.0 || ^2", -# "myclabs/deep-copy": "^1.13.4", -# "phar-io/manifest": "^2.0.4", -# "phar-io/version": "^3.2.1", -# "phpunit/php-code-coverage": "^9.2.31", -# "phpunit/php-file-iterator": "^3.0.6", +# "doctrine/instantiator": "^1.3.1", +# "myclabs/deep-copy": "^1.10.1", +# "phar-io/manifest": "^2.0.3", +# "phar-io/version": "^3.0.2", +# "phpunit/php-code-coverage": "^9.2.13", +# "phpunit/php-file-iterator": "^3.0.5", # "phpunit/php-invoker": "^3.1.1", -# "phpunit/php-text-template": "^2.0.4", -# "phpunit/php-timer": "^5.0.3", -# "sebastian/cli-parser": "^1.0.2", -# "sebastian/code-unit": "^1.0.8", -# "sebastian/comparator": "^4.0.9", -# "sebastian/diff": "^4.0.6", -# "sebastian/environment": "^5.1.5", -# "sebastian/exporter": "^4.0.8", -# "sebastian/global-state": "^5.0.8", -# "sebastian/object-enumerator": "^4.0.4", -# "sebastian/resource-operations": "^3.0.4", -# "sebastian/type": "^3.2.1", +# "phpunit/php-text-template": "^2.0.3", +# "phpunit/php-timer": "^5.0.2", +# "sebastian/cli-parser": "^1.0.1", +# "sebastian/code-unit": "^1.0.6", +# "sebastian/comparator": "^4.0.8", +# "sebastian/diff": "^4.0.3", +# "sebastian/environment": "^5.1.3", +# "sebastian/exporter": "^4.0.5", +# "sebastian/global-state": "^5.0.1", +# "sebastian/object-enumerator": "^4.0.3", +# "sebastian/resource-operations": "^3.0.3", +# "sebastian/type": "^3.2", # "sebastian/version": "^3.0.2" Requires: php(language) >= 7.3 Requires: php-cli @@ -106,47 +109,41 @@ Requires: php-libxml Requires: php-mbstring Requires: php-xml Requires: php-xmlwriter -Requires: (php-composer(doctrine/instantiator) >= 1.5.0 with php-composer(doctrine/instantiator) < 3) -Requires: (php-composer(myclabs/deep-copy) >= 1.13.4 with php-composer(myclabs/deep-copy) < 2) -Requires: (php-composer(phar-io/manifest) >= 2.0.4 with php-composer(phar-io/manifest) < 3) -Requires: (php-composer(phar-io/version) >= 3.2.1 with php-composer(phar-io/version) < 4) +Requires: (php-composer(doctrine/instantiator) >= 1.3.1 with php-composer(doctrine/instantiator) < 2) +Requires: (php-composer(myclabs/deep-copy) >= 1.10.1 with php-composer(myclabs/deep-copy) < 2) +Requires: (php-composer(phar-io/manifest) >= 2.0.3 with php-composer(phar-io/manifest) < 3) +Requires: (php-composer(phar-io/version) >= 3.0.2 with php-composer(phar-io/version) < 4) Requires: (php-composer(phpspec/prophecy) >= 1.12.1 with php-composer(phpspec/prophecy) < 2) -Requires: (php-composer(phpunit/php-code-coverage) >= 9.2.31 with php-composer(phpunit/php-code-coverage) < 10) -Requires: (php-composer(phpunit/php-file-iterator) >= 3.0.6 with php-composer(phpunit/php-file-iterator) < 4) +Requires: (php-composer(phpunit/php-code-coverage) >= 9.2.13 with php-composer(phpunit/php-code-coverage) < 10) +Requires: (php-composer(phpunit/php-file-iterator) >= 3.0.4 with php-composer(phpunit/php-file-iterator) < 4) Requires: (php-composer(phpunit/php-invoker) >= 3.1 with php-composer(phpunit/php-invoker) < 4) -Requires: (php-composer(phpunit/php-text-template) >= 2.0.4 with php-composer(phpunit/php-text-template) < 3) -Requires: (php-composer(phpunit/php-timer) >= 5.0.3 with php-composer(phpunit/php-timer) < 6) -Requires: (php-composer(sebastian/cli-parser) >= 1.0.2 with php-composer(sebastian/cli-parser) < 2) -Requires: (php-composer(sebastian/code-unit) >= 1.0.8 with php-composer(sebastian/code-unit) < 2) -Requires: (php-composer(sebastian/comparator) >= 4.0.9 with php-composer(sebastian/comparator) < 5) -Requires: (php-composer(sebastian/diff) >= 4.0.6 with php-composer(sebastian/diff) < 5) -Requires: (php-composer(sebastian/environment) >= 5.1.5 with php-composer(sebastian/environment) < 6) -Requires: (php-composer(sebastian/exporter) >= 4.0.8 with php-composer(sebastian/exporter) < 5) -Requires: (php-composer(sebastian/global-state) >= 5.0.8 with php-composer(sebastian/global-state) < 6) -Requires: (php-composer(sebastian/object-enumerator) >= 4.0.4 with php-composer(sebastian/object-enumerator) < 5) -Requires: (php-composer(sebastian/resource-operations) >= 3.0.4 with php-composer(sebastian/resource-operations) < 4) -Requires: (php-composer(sebastian/type) >= 3.2.1 with php-composer(sebastian/type) < 4) +Requires: (php-composer(phpunit/php-text-template) >= 2.0.2 with php-composer(phpunit/php-text-template) < 3) +Requires: (php-composer(phpunit/php-timer) >= 5.0.1 with php-composer(phpunit/php-timer) < 6) +Requires: (php-composer(sebastian/cli-parser) >= 1.0 with php-composer(sebastian/cli-parser) < 2) +Requires: (php-composer(sebastian/code-unit) >= 1.0.5 with php-composer(sebastian/code-unit) < 2) +Requires: (php-composer(sebastian/comparator) >= 4.0.8 with php-composer(sebastian/comparator) < 5) +Requires: (php-composer(sebastian/diff) >= 4.0.2 with php-composer(sebastian/diff) < 5) +Requires: (php-composer(sebastian/environment) >= 5.1.2 with php-composer(sebastian/environment) < 6) +Requires: (php-composer(sebastian/exporter) >= 4.0.5 with php-composer(sebastian/exporter) < 5) +Requires: (php-composer(sebastian/global-state) >= 5.0 with php-composer(sebastian/global-state) < 6) +Requires: (php-composer(sebastian/object-enumerator) >= 4.0.2 with php-composer(sebastian/object-enumerator) < 5) +Requires: (php-composer(sebastian/resource-operations) >= 3.0.2 with php-composer(sebastian/resource-operations) < 4) +Requires: (php-composer(sebastian/type) >= 3.2 with php-composer(sebastian/type) < 4) Requires: (php-composer(sebastian/version) >= 3.0.1 with php-composer(sebastian/version) < 4) # From composer.json, "suggest": { # "ext-soap": "*", # "ext-xdebug": "*" Suggests: php-soap Suggests: php-xdebug -# recommends latest versions -Recommends: phpunit10 -Recommends: phpunit11 -Recommends: phpunit12 # Autoloader Requires: php-composer(fedora/autoloader) # From phpcompatinfo report for version 8.0.0 +Requires: php-reflection Requires: php-openssl Requires: php-pcntl +Requires: php-pcre Requires: php-phar - -%if 0%{?fedora} >= 39 || 0%{?rhel} >= 10 -Provides: php-composer(phpunit/phpunit) = %{version} -Provides: phpunit = %{version}-%{release} -%endif +Requires: php-spl %description @@ -156,12 +153,12 @@ It is an instance of the xUnit architecture for unit testing frameworks. This package provides the version %{ver_major} of PHPUnit, available using the %{name} command. -Documentation: https://phpunit.de/documentation.html +Documentation: https://phpunit.readthedocs.io/ %prep %setup -q -n %{gh_project}-%{gh_commit} -%patch -P0 -p0 -b .rpm +%patch0 -p0 -b .rpm find . -name \*.rpm -delete -print @@ -174,20 +171,12 @@ find . -name \*.rpm -delete -print cat << 'EOF' | tee -a src/autoload.php // Dependencies -if (PHP_VERSION_ID > 80100) { - $inst = [ - '%{php_home}/Doctrine/Instantiator2/autoload.php', - '%{php_home}/Doctrine/Instantiator/autoload.php', - ]; -} else { - $inst = '%{php_home}/Doctrine/Instantiator/autoload.php'; -} \Fedora\Autoloader\Dependencies::required([ '%{php_home}/SebastianBergmann/CodeCoverage9/autoload.php', '%{php_home}/SebastianBergmann/FileIterator3/autoload.php', '%{php_home}/SebastianBergmann/Template2/autoload.php', '%{php_home}/SebastianBergmann/Timer5/autoload.php', - $inst, + '%{php_home}/Prophecy/autoload.php', '%{php_home}/SebastianBergmann/CliParser/autoload.php', '%{php_home}/SebastianBergmann/CodeUnit/autoload.php', '%{php_home}/SebastianBergmann/Invoker3/autoload.php', @@ -200,12 +189,11 @@ if (PHP_VERSION_ID > 80100) { '%{php_home}/SebastianBergmann/ResourceOperations3/autoload.php', '%{php_home}/SebastianBergmann/Type3/autoload.php', '%{php_home}/SebastianBergmann/Version3/autoload.php', + '%{php_home}/Doctrine/Instantiator/autoload.php', '%{php_home}/DeepCopy/autoload.php', '%{php_home}/PharIo/Manifest2/autoload.php', '%{php_home}/PharIo/Version3/autoload.php', __DIR__ . '/Framework/Assert/Functions.php', - // May load Comparator/RecursionContext bad version - '%{php_home}/Prophecy/autoload.php', ]); // Extensions \Fedora\Autoloader\Dependencies::optional( @@ -239,7 +227,7 @@ sed -e 's:@PATH@:%{buildroot}%{php_home}/%{ns_vendor}:' -i tests/bootstrap.php sed -e 's:%{php_home}/%{ns_vendor}:%{buildroot}%{php_home}/%{ns_vendor}:' -i phpunit ret=0 -for cmd in php php81 php82 php83 php84 php85; do +for cmd in php php74 php80 php81 php82; do if which $cmd; then $cmd ./phpunit $OPT --verbose || ret=1 fi @@ -256,120 +244,6 @@ exit $ret %changelog -* Tue Dec 2 2025 Remi Collet - 9.6.30-1 -- update to 9.6.30 (no change) - -* Wed Sep 24 2025 Remi Collet - 9.6.29-1 -- update to 9.6.29 (no change) -- raise dependency on sebastian/exporter 4.0.8 - -* Mon Sep 15 2025 Remi Collet - 9.6.27-1 -- update to 9.6.27 - -* Thu Sep 11 2025 Remi Collet - 9.6.26-1 -- update to 9.6.26 - -* Wed Aug 20 2025 Remi Collet - 9.6.25-1 -- update to 9.6.25 - -* Fri Jul 25 2025 Fedora Release Engineering - 9.6.23-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild - -* Sun May 4 2025 Remi Collet - 9.6.23-1 -- update to 9.6.23 -- raise dependency on myclabs/deep-copy 1.13.1 - -* Sat Jan 18 2025 Fedora Release Engineering - 9.6.22-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild - -* Thu Dec 5 2024 Remi Collet - 9.6.22-1 -- update to 9.6.22 (no change) -- raise dependency on myclabs/deep-copy 1.12.1 - -* Thu Sep 19 2024 Remi Collet - 9.6.21-1 -- update to 9.6.21 - -* Fri Jul 19 2024 Fedora Release Engineering - 9.6.20-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild - -* Thu Jul 11 2024 Remi Collet - 9.6.20-1 -- update to 9.6.20 (no change) -- raise dependencies - -* Fri Apr 5 2024 Remi Collet - 9.6.19-1 -- update to 9.6.19 (no change) - -* Thu Mar 21 2024 Remi Collet - 9.6.18-1 -- update to 9.6.18 - -* Mon Feb 26 2024 Remi Collet - 9.6.17-1 -- update to 9.6.17 - -* Thu Jan 25 2024 Fedora Release Engineering - 9.6.16-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild - -* Sun Jan 21 2024 Fedora Release Engineering - 9.6.16-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild - -* Fri Jan 19 2024 Remi Collet - 9.6.16-1 -- update to 9.6.16 - -* Sat Dec 2 2023 Remi Collet - 9.6.15-1 -- update to 9.6.15 - -* Fri Dec 1 2023 Remi Collet - 9.6.14-1 -- update to 9.6.14 (no change) - -* Tue Sep 19 2023 Remi Collet - 9.6.13-1 -- update to 9.6.13 - -* Wed Sep 13 2023 Remi Collet - 9.6.12-1 -- update to 9.6.12 -- raise dependency on phpunit/php-code-coverage 9.2.28 - -* Sun Aug 20 2023 Remi Collet - 9.6.11-1 -- update to 9.6.11 - -* Fri Jul 21 2023 Fedora Release Engineering - 9.6.10-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild - -* Mon Jul 10 2023 Remi Collet - 9.6.10-1 -- update to 9.6.10 - -* Mon Jun 12 2023 Remi Collet - 9.6.9-1 -- update to 9.6.9 - -* Thu May 11 2023 Remi Collet - 9.6.8-1 -- update to 9.6.8 - -* Fri Apr 14 2023 Remi Collet - 9.6.7-1 -- update to 9.6.7 - -* Mon Mar 27 2023 Remi Collet - 9.6.6-1 -- update to 9.6.6 - -* Thu Mar 9 2023 Remi Collet - 9.6.5-1 -- update to 9.6.5 - -* Tue Feb 28 2023 Remi Collet - 9.6.4-1 -- update to 9.6.4 - -* Mon Feb 6 2023 Remi Collet - 9.6.3-1 -- update to 9.6.3 - -* Fri Feb 3 2023 Remi Collet - 9.6.0-1 -- update to 9.6.0 - -* Fri Jan 20 2023 Fedora Release Engineering - 9.5.28-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild - -* Mon Jan 16 2023 Remi Collet - 9.5.28-1 -- update to 9.5.28 -- allow doctrine/instantiator v2 - -* Fri Dec 9 2022 Remi Collet - 9.5.27-1 -- update to 9.5.27 - * Fri Oct 28 2022 Remi Collet - 9.5.26-1 - update to 9.5.26 @@ -383,9 +257,6 @@ exit $ret - update to 9.5.24 - raise dependency on sebastian/type 3.1 -* Fri Jul 22 2022 Fedora Release Engineering - 9.5.21-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild - * Mon Jun 20 2022 Remi Collet - 9.5.21-1 - update to 9.5.21 - raise dependency on sebastian/type 3.0 diff --git a/sources b/sources index 775c187..99bf9c0 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (phpunit9-9.6.30-b69489b.tgz) = 5609599ea75cb7c455c12137acc26e20e940b81c75d8a9033c32fb6ea7ff6ddeb0bead70f801aa75d7b75033cc9c67f7eeca6be83c672222f0445cc940ab6037 +SHA512 (phpunit9-9.5.26-851867e.tgz) = 4087baf36115e8df858bc3dd86baa0a4048bf0abc65fdd2973d53064a362b4a62d6662218bf2b52bf3b4d5baa0167ce553e7d7541e0a131e96b3c8ff86ff181a