summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--phpunit8.spec14
1 files changed, 11 insertions, 3 deletions
diff --git a/phpunit8.spec b/phpunit8.spec
index 341f046..acbc513 100644
--- a/phpunit8.spec
+++ b/phpunit8.spec
@@ -12,7 +12,7 @@
# For compatibility with SCL
%undefine __brp_mangle_shebangs
-%global gh_commit 622d0186707f39a4ae71df3bcf42d759bb868854
+%global gh_commit c14b7dce827341b330519db07cf9bd16461dec1a
#global gh_date 20150927
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
%global gh_owner sebastianbergmann
@@ -26,7 +26,7 @@
%global ver_major 8
%global ver_minor 5
-%global upstream_version 8.5.34
+%global upstream_version 8.5.35
#global upstream_prever dev
Name: %{pk_project}%{ver_major}
@@ -191,6 +191,11 @@ Requires: php-pcre
Requires: php-phar
Requires: php-spl
+%if 0%{?fedora} >= 39 || 0%{?rhel} >= 10
+Provides: php-composer(phpunit/phpunit) = %{version}
+Provides: phpunit = %{version}-%{release}
+%endif
+
%description
PHPUnit is a programmer-oriented testing framework for PHP.
@@ -267,7 +272,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 php80 php81 php82 php83; do
+for cmd in php php81 php82 php83; do
if which $cmd; then
$cmd ./phpunit $OPT --verbose || ret=1
fi
@@ -286,6 +291,9 @@ exit $ret
%changelog
+* Fri Dec 1 2023 Remi Collet <remi@remirepo.net> - 8.5.35-1
+- update to 8.5.35 (no change)
+
* Tue Sep 19 2023 Remi Collet <remi@remirepo.net> - 8.5.34-1
- update to 8.5.34