summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--phpunit9.spec14
1 files changed, 11 insertions, 3 deletions
diff --git a/phpunit9.spec b/phpunit9.spec
index 0dc7c79..db3cfc8 100644
--- a/phpunit9.spec
+++ b/phpunit9.spec
@@ -12,7 +12,7 @@
# For compatibility with SCL
%undefine __brp_mangle_shebangs
-%global gh_commit f3d767f7f9e191eab4189abe41ab37797e30b1be
+%global gh_commit 43653e6ad7adc22e7b667dd561bf8fcb74c10cf0
#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 9
%global ver_minor 6
-%global upstream_version 9.6.13
+%global upstream_version 9.6.14
#global upstream_prever dev
Name: %{pk_project}%{ver_major}
@@ -200,6 +200,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.
@@ -290,7 +295,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
@@ -309,6 +314,9 @@ exit $ret
%changelog
+* Fri Dec 1 2023 Remi Collet <remi@remirepo.net> - 9.6.14-1
+- update to 9.6.14 (no change)
+
* Tue Sep 19 2023 Remi Collet <remi@remirepo.net> - 9.6.13-1
- update to 9.6.13