From 80dd53f018a7c28d0b7fc76d608769ce6a1d8931 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 18 Sep 2024 15:31:12 +0200 Subject: [PATCH] v5.1.0 (cherry picked from commit 1dde639f5b070c7f951e5bcef5c6d6d3b797746c) --- .gitignore | 1 + php-sebastian-type5.spec | 15 +++++++++------ sources | 2 +- 3 files changed, 11 insertions(+), 7 deletions(-) diff --git a/.gitignore b/.gitignore index 96ac65e..6172544 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /php-sebastian-type5-5.0.0-b850278.tgz /php-sebastian-type5-5.0.1-fb6a656.tgz +/php-sebastian-type5-5.1.0-461b9c5.tgz diff --git a/php-sebastian-type5.spec b/php-sebastian-type5.spec index 0ef19fb..60f2b59 100644 --- a/php-sebastian-type5.spec +++ b/php-sebastian-type5.spec @@ -11,11 +11,11 @@ %bcond_with tests # github -%global gh_commit fb6a6566f9589e86661291d13eba708cce5eb4aa +%global gh_commit 461b9c5da241511a2a0e8f240814fb23ce5c0aac %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner sebastianbergmann %global gh_project type -%global gh_date 2024-07-03 +%global gh_date 2024-09-17 # packagist %global pk_vendor sebastian %global pk_project %{gh_project} @@ -26,7 +26,7 @@ %global ns_project Type Name: php-%{pk_vendor}-%{pk_project}%{major} -Version: 5.0.1 +Version: 5.1.0 Release: 1%{?dist} Summary: Collection of value objects that represent the types of the PHP type system, v%{major} @@ -43,8 +43,8 @@ BuildRequires: php-reflection BuildRequires: php-fedora-autoloader-devel >= 1.0.0 %if %{with tests} # from composer.json, "require-dev": { -# "phpunit/phpunit": "^11.0" -BuildRequires: phpunit11 +# "phpunit/phpunit": "^11.3" +BuildRequires: phpunit11 >= 11.3 %endif # from composer.json, "require": { @@ -98,7 +98,7 @@ ret=0 for cmd in php php82 php83 php84; do if which $cmd; then $cmd -d auto_prepend_file=%{buildroot}%{php_home}/%{ns_vendor}/%{ns_project}%{major}/autoload.php \ - %{_bindir}/phpunit11 || ret=1 + %{_bindir}/phpunit11 --bootstrap vendor/autoload.php --no-coverage || ret=1 fi done exit $ret @@ -116,6 +116,9 @@ exit $ret %changelog +* Wed Sep 18 2024 Remi Collet - 5.1.0-1 +- update to 5.1.0 + * Wed Jul 3 2024 Remi Collet - 5.0.1-1 - update to 5.0.1 diff --git a/sources b/sources index 1d0c627..7334e2d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (php-sebastian-type5-5.0.1-fb6a656.tgz) = c88a181c1a07e641c5b1743b0c5806f810b4890ef4b427a4930951ba88c21685ec3f2040988f9395521a825fe2524756734aa4ae2bc4719826cf8732c2e7e2a7 +SHA512 (php-sebastian-type5-5.1.0-461b9c5.tgz) = 96b6f90eacd88982fcdcf0cb465e1e6025ab013f9abcfb95bd593738c6f75bd4cd4c5c1e53ee7431f8d05fa6d12a57f1d5b651cafc17753cff68bfb36a5fc835