summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2025-02-07 08:20:54 +0100
committerRemi Collet <remi@php.net>2025-02-07 08:20:54 +0100
commit1afa81689fb4d0a8805e2ae74ddb0ee4f9ad28d6 (patch)
treeba8dc9ea475f7a885f6a31f77b8fa3810cd33ac5
parent2349c5d4f0cc8f7ae219f253cb97e432bebe2ac8 (diff)
F-40: add phpunit command, removed from phpunit11
recommend phpunit11 and phpunit12
-rw-r--r--phpunit10.spec22
1 files changed, 15 insertions, 7 deletions
diff --git a/phpunit10.spec b/phpunit10.spec
index f1e13b7..8ccf318 100644
--- a/phpunit10.spec
+++ b/phpunit10.spec
@@ -13,7 +13,7 @@
%bcond_without tests
-%if 0%{?fedora} == 39
+%if 0%{?fedora} == 39 || 0%{?fedora} == 40
%bcond_without defcmd
%else
%bcond_with defcmd
@@ -38,7 +38,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
@@ -138,19 +138,23 @@ Requires: (php-composer(sebastian/version) >= 4.0.1 with php-c
# "ext-soap": "*",
Suggests: php-soap
# recommends latest versions
-# Fedora 38+ only until 8.1 EOL
-%if 0%{?fedora} >= 38
+# remirepo:2
+# Fedora 38+ only for 8.2
+%if 0%{?fedora} >= 38 || 0%{?rhel} >= 10
Recommends: phpunit11
+# remirepo:3
+%endif
+# Fedora 40+ only for 8.3
+%if 0%{?fedora} >= 40 || 0%{?rhel} >= 10
+Recommends: phpunit12
+# remirepo:1
%endif
# Autoloader
Requires: php-composer(fedora/autoloader)
# From phpcompatinfo report for version 10.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}
@@ -273,6 +277,10 @@ exit $ret
%changelog
+* Mon Feb 3 2025 Remi Collet <remi@remirepo.net> - 11.5.6-2
+- F-40: add phpunit command, removed from phpunit11
+- recommend phpunit11 and phpunit12
+
* Fri Jan 31 2025 Remi Collet <remi@remirepo.net> - 10.5.44-1
- update to 10.5.44