summaryrefslogtreecommitdiffstats
path: root/phpunit10.spec
diff options
context:
space:
mode:
Diffstat (limited to 'phpunit10.spec')
-rw-r--r--phpunit10.spec27
1 files changed, 15 insertions, 12 deletions
diff --git a/phpunit10.spec b/phpunit10.spec
index a59e98f..c1af834 100644
--- a/phpunit10.spec
+++ b/phpunit10.spec
@@ -19,9 +19,6 @@
%bcond_with defcmd
%endif
-%global gh_commit 33198268dad71e926626b618f3ec3966661e4d90
-%global gh_date 2026-01-27
-%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
%global gh_owner sebastianbergmann
%global gh_project phpunit
# Packagist
@@ -33,18 +30,15 @@
%global ver_major 10
%global ver_minor 5
-%global upstream_version 10.5.63
-#global upstream_prever dev
-
Name: %{pk_project}%{ver_major}
-Version: %{upstream_version}%{?upstream_prever:~%{upstream_prever}}
+Version: 10.5.64
Release: 1%{?dist}
Summary: The PHP Unit Testing framework version %{ver_major}
License: BSD-3-Clause
URL: https://github.com/%{gh_owner}/%{gh_project}
# run makesrc.sh to create a git snapshot with test suite
-Source0: %{name}-%{upstream_version}-%{gh_short}.tgz
+Source0: %{name}-%{version}.tgz
Source1: makesrc.sh
# Fix command for autoload
@@ -83,10 +77,10 @@ BuildRequires: php-fedora-autoloader-devel >= 1.0.0
# From composer.json, "require": {
# "php": ">=8.1",
# "ext-dom": "*",
+# "ext-filter": "*",
# "ext-json": "*",
# "ext-libxml": "*",
# "ext-mbstring": "*",
-# "ext-xml": "*",
# "ext-xmlwriter": "*",
# "myclabs/deep-copy": "^1.13.4",
# "phar-io/manifest": "^2.0.4",
@@ -113,7 +107,6 @@ Requires: php-dom
Requires: php-json
Requires: php-libxml
Requires: php-mbstring
-Requires: php-xml
Requires: php-xmlwriter
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)
@@ -147,6 +140,11 @@ Recommends: phpunit11
# Fedora 40+ only for 8.3
%if 0%{?fedora} >= 40 || 0%{?rhel} >= 10
Recommends: phpunit12
+# remirepo:3
+%endif
+# Fedora 42+ only for 8.4
+%if 0%{?fedora} >= 42
+Recommends: phpunit13
# remirepo:1
%endif
# Autoloader
@@ -158,6 +156,8 @@ Requires: php-phar
%if 0%{?fedora} >= 39 || 0%{?rhel} >= 10
Provides: php-composer(phpunit/phpunit) = %{version}
+%endif
+%if %{with defcmd}
Provides: phpunit = %{version}-%{release}
%endif
@@ -173,7 +173,7 @@ Documentation: https://phpunit.de/documentation.html
%prep
-%setup -q -n %{gh_project}-%{gh_commit}
+%setup -q -n %{gh_project}-%{version}
%patch -P0 -p0 -b .rpm
find . -name \*.rpm -delete -print
@@ -256,7 +256,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 php82 php83 php84 php85; do
+for cmd in php php82 php83 php84 php85 php86; do
if which $cmd; then
$cmd ./phpunit $OPT || ret=1
fi
@@ -277,6 +277,9 @@ exit $ret
%changelog
+* Tue Jul 7 2026 Remi Collet <remi@remirepo.net> - 10.5.64-1
+- update to 10.5.64
+
* Tue Jan 27 2026 Remi Collet <remi@remirepo.net> - 10.5.63-1
- update to 10.5.63