Compare commits

...
Sign in to create a new pull request.

3 commits

Author SHA1 Message Date
Remi Collet
0bc77f9aaa v5.0.3
(cherry picked from commit 4ec5a1d9c7)
2024-10-21 10:30:15 +02:00
Remi Collet
a5c11c65bc v5.0.2
(cherry picked from commit b0dba3390f)
(cherry picked from commit 297701f268)
2024-08-12 10:33:39 +02:00
Remi Collet
67a3e15f50 add upstream patch for phpunit >= 10.4 FTBFS #2261508
(cherry picked from commit 0e15668b96)
2024-01-30 16:14:40 +01:00
3 changed files with 18 additions and 7 deletions

2
.gitignore vendored
View file

@ -1,2 +1,4 @@
/php-sebastian-comparator5-5.0.0-72f01e6.tgz
/php-sebastian-comparator5-5.0.1-2db5010.tgz
/php-sebastian-comparator5-5.0.2-2d3e04c.tgz
/php-sebastian-comparator5-5.0.3-a18251e.tgz

View file

@ -1,6 +1,6 @@
# remirepo/fedora spec file for php-sebastian-comparator5
#
# Copyright (c) 2014-2023 Remi Collet
# Copyright (c) 2014-2024 Remi Collet
# License: CC-BY-SA-4.0
# http://creativecommons.org/licenses/by-sa/4.0/
#
@ -10,7 +10,7 @@
# disabled until phpunit10 available
%bcond_without tests
%global gh_commit 2db5010a484d53ebf536087a70b4a5423c102372
%global gh_commit a18251eb0b7a2dcd2f7aa3d6078b18545ef0558e
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
%global gh_owner sebastianbergmann
%global gh_project comparator
@ -24,7 +24,7 @@
%global ns_project Comparator
Name: php-%{pk_vendor}-%{pk_project}%{major}
Version: 5.0.1
Version: 5.0.3
Release: 1%{?dist}
Summary: Compare PHP values for equality, version %{major}
@ -45,8 +45,8 @@ BuildRequires: (php-composer(%{pk_vendor}/exporter) >= 5.0 with php-composer(
BuildRequires: php-fedora-autoloader-devel
%if %{with tests}
# from composer.json, "require-dev": {
# "phpunit/phpunit": "^10.3"
BuildRequires: phpunit10 >= 10.3
# "phpunit/phpunit": "^10.5"
BuildRequires: phpunit10 >= 10.5
%endif
# from composer.json
@ -107,7 +107,7 @@ mkdir vendor
: Run upstream test suite
ret=0
for cmd in php php81 php82 php83; do
for cmd in php php81 php82 php83 php84; do
if which $cmd; then
$cmd -d auto_prepend_file=%{buildroot}%{php_home}/%{ns_vendor}/%{ns_project}%{major}/autoload.php \
%{_bindir}/phpunit10 --no-coverage || ret=1
@ -126,6 +126,15 @@ exit $ret
%changelog
* Mon Oct 21 2024 Remi Collet <remi@remirepo.net> - 5.0.3-1
- update to 5.0.3
* Mon Aug 12 2024 Remi Collet <remi@remirepo.net> - 5.0.2-1
- update to 5.0.2
* Tue Jan 30 2024 Remi Collet <remi@remirepo.net> - 5.0.1-4
- add upstream patch for phpunit >= 10.4 FTBFS #2261508
* Fri Aug 18 2023 Remi Collet <remi@remirepo.net> - 5.0.1-1
- update to 5.0.1

View file

@ -1 +1 @@
SHA512 (php-sebastian-comparator5-5.0.1-2db5010.tgz) = 594f8a213b1c3ada12ebe5d00ae8deba67ba09445b619eef05b3f99db20224b001b2007eaab623b5ee1e04679e6fe1952b7f2ecf2463dbe078e2143bdac4a9b5
SHA512 (php-sebastian-comparator5-5.0.3-a18251e.tgz) = e3e21b5ac069b74020e81397789aa49ad6594700b9145bf36208d482179cc595358bb3189d4f6b7889bcfd18c02caeafbf6dde4192cdfafc4b333256bf328903