(cherry picked from commit 6aa39f4cca)
This commit is contained in:
Remi Collet 2025-05-05 15:24:19 +02:00
commit 5aee941b83
3 changed files with 17 additions and 15 deletions

2
.gitignore vendored
View file

@ -34,3 +34,5 @@ clog
/phpunit8-8.5.38-1ecad67.tgz
/phpunit8-8.5.39-172ba97.tgz
/phpunit8-8.5.40-48ed828.tgz
/phpunit8-8.5.41-d843cb5.tgz
/phpunit8-8.5.42-3a68a70.tgz

View file

@ -1,16 +1,15 @@
# remirepo/fedora spec file for phpunit8
#
# Copyright (c) 2010-2024 Remi Collet
#
# License: CC-BY-SA-4.0
# http://creativecommons.org/licenses/by-sa/4.0/
# SPDX-FileCopyrightText: Copyright 2010-2025 Remi Collet
# SPDX-License-Identifier: CECILL-2.1
# http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
#
# Please, preserve the changelog entries
#
%global gh_commit 48ed828b72c35b38cdddcd9059339734cb06b3a7
%global gh_date 2024-09-19
%global gh_commit 3a68a70824da546d26ac08ca4fced67341f4158f
%global gh_date 2025-05-02
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
%global gh_owner sebastianbergmann
%global gh_project phpunit
@ -23,7 +22,7 @@
%global ver_major 8
%global ver_minor 5
%global upstream_version 8.5.40
%global upstream_version 8.5.42
#global upstream_prever dev
Name: %{pk_project}%{ver_major}
@ -42,7 +41,7 @@ Patch0: %{name}-rpm.patch
BuildArch: noarch
BuildRequires: php(language) >= 7.2
BuildRequires: (php-composer(doctrine/instantiator) >= 1.5.0 with php-composer(doctrine/instantiator) < 2)
BuildRequires: (php-composer(myclabs/deep-copy) >= 1.12.0 with php-composer(myclabs/deep-copy) < 2)
BuildRequires: (php-composer(myclabs/deep-copy) >= 1.13.1 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(phpspec/prophecy) >= 1.10.3 with php-composer(phpspec/prophecy) < 2)
@ -78,7 +77,7 @@ BuildRequires: php-fedora-autoloader-devel >= 1.0.0
# "ext-xml": "*",
# "ext-xmlwriter": "*",
# "doctrine/instantiator": "^1.5.0",
# "myclabs/deep-copy": "^1.12.0",
# "myclabs/deep-copy": "^1.13.1",
# "phar-io/manifest": "^2.0.4",
# "phar-io/version": "^3.2.1",
# "phpunit/php-code-coverage": "^7.0.17",
@ -103,7 +102,7 @@ Requires: php-mbstring
Requires: php-xml
Requires: php-xmlwriter
Requires: (php-composer(doctrine/instantiator) >= 1.5.0 with php-composer(doctrine/instantiator) < 2)
Requires: (php-composer(myclabs/deep-copy) >= 1.12.0 with php-composer(myclabs/deep-copy) < 2)
Requires: (php-composer(myclabs/deep-copy) >= 1.13.1 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(phpspec/prophecy) >= 1.10.3 with php-composer(phpspec/prophecy) < 2)
@ -134,12 +133,9 @@ Recommends: phpunit11
# 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
Requires: php-spl
%if 0%{?fedora} >= 39 || 0%{?rhel} >= 10
Provides: php-composer(phpunit/phpunit) = %{version}
@ -154,7 +150,7 @@ 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.readthedocs.io/
Documentation: https://phpunit.de/documentation.html
%prep
@ -242,6 +238,10 @@ exit $ret
%changelog
* Sun May 4 2025 Remi Collet <remi@remirepo.net> - 8.5.42-1
- update to 8.5.42
- raise dependency on myclabs/deep-copy 1.13.1
* Thu Sep 19 2024 Remi Collet <remi@remirepo.net> - 8.5.40-1
- update to 8.5.40

View file

@ -1 +1 @@
SHA512 (phpunit8-8.5.40-48ed828.tgz) = 5bd3de27ccc2ae5c7727af70700de7f5322832ffc624e27a9f59588f86c80290bed67cc9cffb08896f62c26186e9cfce95b062c9361c1fc2f825e11d53236f61
SHA512 (phpunit8-8.5.42-3a68a70.tgz) = c1a0e5d5ebcdf0d4ae6c5a09b45015ceecba23a4d95a51d53f051725f3fbd944e5b15a7d3ccf9fd99da66f908322213e9c0c5090719558ed974c8f6272273327