From 65d45bf5ca3651c3031721c2f2c3b58e08d0eb0a Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 18 Aug 2023 08:37:48 +0200 Subject: update to 5.0.1 --- php-sebastian-comparator5.spec | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) (limited to 'php-sebastian-comparator5.spec') diff --git a/php-sebastian-comparator5.spec b/php-sebastian-comparator5.spec index 301013f..2f7f1c2 100644 --- a/php-sebastian-comparator5.spec +++ b/php-sebastian-comparator5.spec @@ -8,9 +8,9 @@ # # disabled until phpunit10 available -%bcond_with tests +%bcond_without tests -%global gh_commit 72f01e6586e0caf6af81297897bd112eb7e9627c +%global gh_commit 2db5010a484d53ebf536087a70b4a5423c102372 %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.0 +Version: 5.0.1 Release: 1%{?dist} Summary: Compare PHP values for equality, version %{major} @@ -52,8 +52,8 @@ BuildRequires: php-sebastian-exporter5 BuildRequires: php-fedora-autoloader-devel %if %{with tests} # from composer.json, "require-dev": { -# "phpunit/phpunit": "^10.0" -BuildRequires: phpunit10 +# "phpunit/phpunit": "^10.3" +BuildRequires: phpunit10 >= 10.3 %endif # from composer.json @@ -86,6 +86,8 @@ Provides: php-composer(%{pk_vendor}/%{pk_project}) = %{version} %description This component provides the functionality to compare PHP values for equality. +This package provides version %{major} of %{pk_vendor}/%{pk_project} library. + Autoloader: %{php_home}/%{ns_vendor}/%{ns_project}%{major}/autoload.php @@ -119,7 +121,7 @@ mkdir vendor : Run upstream test suite ret=0 -for cmd in php php81 php82; do +for cmd in php php81 php82 php83; 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 @@ -140,6 +142,9 @@ exit $ret %changelog +* Fri Aug 18 2023 Remi Collet - 5.0.1-1 +- update to 5.0.1 + * Fri Feb 3 2023 Remi Collet - 5.0.0-1 - update to 5.0.0 - raise dependency on PHP 8.1 -- cgit