(cherry picked from commit ddfe64f3b9)
This commit is contained in:
Remi Collet 2023-09-19 12:40:57 +02:00
commit ab70fe2108
3 changed files with 9 additions and 7 deletions

1
.gitignore vendored
View file

@ -27,3 +27,4 @@ clog
/phpunit8-8.5.31-33c126b.tgz
/phpunit8-8.5.32-3756869.tgz
/phpunit8-8.5.33-7d1ff0e.tgz
/phpunit8-8.5.34-622d018.tgz

View file

@ -8,10 +8,8 @@
# Please, preserve the changelog entries
#
# For compatibility with SCL
%undefine __brp_mangle_shebangs
%global gh_commit 7d1ff0e8c6b35db78ff13e3e05517d7cbf7aa32e
%global gh_commit 622d0186707f39a4ae71df3bcf42d759bb868854
#global gh_date 20150927
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
%global gh_owner sebastianbergmann
@ -25,7 +23,7 @@
%global ver_major 8
%global ver_minor 5
%global upstream_version 8.5.33
%global upstream_version 8.5.34
#global upstream_prever dev
Name: %{pk_project}%{ver_major}
@ -155,7 +153,7 @@ Documentation: https://phpunit.readthedocs.io/
%prep
%setup -q -n %{gh_project}-%{gh_commit}
%patch0 -p0 -b .rpm
%patch -P0 -p0 -b .rpm
%build
@ -218,7 +216,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 php74 php80 php81 php82; do
for cmd in php php80 php81 php82 php83; do
if which $cmd; then
$cmd ./phpunit $OPT --verbose || ret=1
fi
@ -235,6 +233,9 @@ exit $ret
%changelog
* Tue Sep 19 2023 Remi Collet <remi@remirepo.net> - 8.5.34-1
- update to 8.5.34
* Tue Feb 28 2023 Remi Collet <remi@remirepo.net> - 8.5.33-1
- update to 8.5.33

View file

@ -1 +1 @@
SHA512 (phpunit8-8.5.33-7d1ff0e.tgz) = 24d801a3846cd4a49b7ad8ed76c832ca4c9c44ba084a643ac0b0a222a4dee10b44aef23aacb989804c7a8d2331fb8d43dfd0d7bdf264717b849e53c275af00c8
SHA512 (phpunit8-8.5.34-622d018.tgz) = f012d3dbd68bb9e1ac1a8cecfd8d8b03593b423b3e83b2661c30904928e5023fb52760d0a865b88e21c737ffd8c285d99d7640df476b6579e9fa0ea7813e25c8