From 649b9839ceb8a1767acaa90d0519550b69d52e1d Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 6 Feb 2026 07:21:25 +0100 Subject: update to 7.0.0 raise dependency on PHP 8.4 rename to php-phpunit-php-invoker7 move to /usr/share/php/SebastianBergmann/Invoker7 --- composer.json | 8 ++++---- php-phpunit-php-invoker7.spec | 34 ++++++++++++++++++++-------------- 2 files changed, 24 insertions(+), 18 deletions(-) diff --git a/composer.json b/composer.json index b5bd9b8..5a06441 100644 --- a/composer.json +++ b/composer.json @@ -21,17 +21,17 @@ "prefer-stable": true, "config": { "platform": { - "php": "8.3.0" + "php": "8.4.1" }, "optimize-autoloader": true, "sort-packages": true }, "require": { - "php": ">=8.3" + "php": ">=8.4" }, "require-dev": { "ext-pcntl": "*", - "phpunit/phpunit": "^12.0" + "phpunit/phpunit": "^13.0" }, "autoload": { "classmap": [ @@ -48,7 +48,7 @@ }, "extra": { "branch-alias": { - "dev-main": "6.0-dev" + "dev-main": "7.0-dev" } } } diff --git a/php-phpunit-php-invoker7.spec b/php-phpunit-php-invoker7.spec index d44601e..11fffdb 100644 --- a/php-phpunit-php-invoker7.spec +++ b/php-phpunit-php-invoker7.spec @@ -1,31 +1,31 @@ # remirepo/fedora spec file for php-phpunit-php-invoker6 # -# SPDX-FileCopyrightText: Copyright 2011-2025 Remi Collet +# SPDX-FileCopyrightText: Copyright 2011-2026 Remi Collet # SPDX-License-Identifier: CECILL-2.1 # http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt # # Please, preserve the changelog entries # -%bcond_without tests +%bcond_with tests -%global gh_commit 12b54e689b07a25a9b41e57736dfab6ec9ae5406 +%global gh_commit 42e5c5cae0c65df12d1b1a3ab52bf3f50f244d88 %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner sebastianbergmann %global gh_project php-invoker -%global gh_date 2025-02-07 +%global gh_date 2026-02-06 %global php_home %{_datadir}/php # Packagist %global pk_vendor phpunit %global pk_project %{gh_project} -%global major 6 +%global major 7 # Namespace %global ns_vendor SebastianBergmann %global ns_project Invoker Name: php-%{pk_vendor}-%{pk_project}%{major} -Version: 6.0.0 -Release: 2%{?dist} +Version: 7.0.0 +Release: 1%{?dist} Summary: Invoke callables with a timeout, version %{major} License: BSD-3-Clause @@ -35,19 +35,19 @@ Source0: %{name}-%{version}-%{gh_short}.tgz Source1: makesrc.sh BuildArch: noarch -BuildRequires: php(language) >= 8.3 +BuildRequires: php(language) >= 8.4.1 BuildRequires: php-fedora-autoloader-devel %if %{with tests} # From composer.json, require-dev # "ext-pcntl": "*" -# "phpunit/phpunit": "^12.0" +# "phpunit/phpunit": "^13.0" BuildRequires: php-pcntl -BuildRequires: phpunit12 +BuildRequires: phpunit13 %endif # From composer.json, require -# "php": ">=8.3", -Requires: php(language) >= 8.3 +# "php": ">=8.4", +Requires: php(language) >= 8.4 # From phpcompatinfo report for version 4.0.0 Requires: php-pcntl # Autoloader @@ -88,10 +88,10 @@ mkdir vendor : Run upstream test suite ret=0 -for cmd in php php83 php84; do +for cmd in php php84 php85; do if which $cmd; then $cmd -d auto_prepend_file=%{buildroot}%{php_home}/%{ns_vendor}/%{ns_project}%{major}/autoload.php \ - %{_bindir}/phpunit12 --bootstrap vendor/autoload.php || ret=1 + %{_bindir}/phpunit13 --bootstrap vendor/autoload.php || ret=1 fi done exit $ret @@ -107,6 +107,12 @@ exit $ret %changelog +* Fri Feb 6 2026 Remi Collet - 7.0.0-1 +- update to 7.0.0 +- raise dependency on PHP 8.4 +- rename to php-phpunit-php-invoker7 +- move to /usr/share/php/SebastianBergmann/Invoker7 + * Mon Feb 10 2025 Remi Collet - 6.0.0-2 - enable test suite -- cgit