From 11a5be2533a1e9e5b2e9290773fc484d15d14c7d Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 5 Feb 2024 12:56:40 +0100 Subject: recommend phpunit11 --- phpunit10.spec | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'phpunit10.spec') diff --git a/phpunit10.spec b/phpunit10.spec index 633ef4d..284be3b 100644 --- a/phpunit10.spec +++ b/phpunit10.spec @@ -1,6 +1,6 @@ # remirepo/fedora spec file for phpunit10 # -# Copyright (c) 2010-2023 Remi Collet +# Copyright (c) 2010-2024 Remi Collet # # License: CC-BY-SA-4.0 # http://creativecommons.org/licenses/by-sa/4.0/ @@ -14,7 +14,7 @@ %bcond_without tests -%if 0%{?fedora} >= 39 || 0%{?rhel} >= 10 +%if 0%{?fedora} == 39 %bcond_without defcmd %else %bcond_with defcmd @@ -39,7 +39,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 @@ -164,7 +164,10 @@ Requires: (php-composer(sebastian/version) >= 4.0 with php-c # "ext-soap": "*", Suggests: php-soap # recommends latest versions -# none yet +# Fedora 38+ only until 8.1 EOL +%if 0%{?fedora} >= 38 +Recommends: phpunit11 +%endif # remirepo:21 %else Requires: php-myclabs-deep-copy >= 1.10.1 @@ -319,6 +322,9 @@ exit $ret %changelog +* Mon Feb 5 2024 Remi Collet - 10.5.10-2 +- recommend phpunit11 + * Mon Feb 5 2024 Remi Collet - 10.5.10-1 - update to 10.5.10 -- cgit