summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--composer.json11
-rw-r--r--php-phpunit-php-invoker5.spec27
2 files changed, 23 insertions, 15 deletions
diff --git a/composer.json b/composer.json
index c3dc5ac..cbe9e8e 100644
--- a/composer.json
+++ b/composer.json
@@ -15,22 +15,23 @@
}
],
"support": {
- "issues": "https://github.com/sebastianbergmann/php-invoker/issues"
+ "issues": "https://github.com/sebastianbergmann/php-invoker/issues",
+ "security": "https://github.com/sebastianbergmann/php-invoker/security/policy"
},
"prefer-stable": true,
"config": {
"platform": {
- "php": "8.1.0"
+ "php": "8.2.0"
},
"optimize-autoloader": true,
"sort-packages": true
},
"require": {
- "php": ">=8.1"
+ "php": ">=8.2"
},
"require-dev": {
"ext-pcntl": "*",
- "phpunit/phpunit": "^10.0"
+ "phpunit/phpunit": "^11.0"
},
"autoload": {
"classmap": [
@@ -47,7 +48,7 @@
},
"extra": {
"branch-alias": {
- "dev-main": "4.0-dev"
+ "dev-main": "5.0-dev"
}
}
}
diff --git a/php-phpunit-php-invoker5.spec b/php-phpunit-php-invoker5.spec
index 4fe19af..075301c 100644
--- a/php-phpunit-php-invoker5.spec
+++ b/php-phpunit-php-invoker5.spec
@@ -1,30 +1,31 @@
-# remirepo/fedora spec file for php-phpunit-php-invoker4
+# remirepo/fedora spec file for php-phpunit-php-invoker5
#
-# Copyright (c) 2011-2023 Remi Collet
+# Copyright (c) 2011-2024 Remi Collet
# License: CC-BY-SA-4.0
# http://creativecommons.org/licenses/by-sa/4.0/
#
# Please, preserve the changelog entries
#
-%bcond_without tests
+%bcond_with tests
-%global gh_commit f5e568ba02fa5ba0ddd0f618391d5a9ea50b06d7
+%global gh_commit 5d8d9355a16d8cc5a1305b0a85342cfa420612be
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
%global gh_owner sebastianbergmann
%global gh_project php-invoker
+%global gh_date 2024-02-02
%global php_home %{_datadir}/php
# Packagist
%global pk_vendor phpunit
%global pk_project %{gh_project}
-%global major 4
+%global major 5
# Namespace
%global ns_vendor SebastianBergmann
%global ns_project Invoker
Name: php-%{pk_vendor}-%{pk_project}%{major}
-Version: 4.0.0
-Release: 3%{?dist}
+Version: 5.0.0
+Release: 1%{?dist}
Summary: Invoke callables with a timeout, version %{major}
License: BSD-3-Clause
@@ -39,9 +40,9 @@ BuildRequires: php-fedora-autoloader-devel
%if %{with tests}
# From composer.json, require-dev
# "ext-pcntl": "*"
-# "phpunit/phpunit": "^10.0"
+# "phpunit/phpunit": "^11.0"
BuildRequires: php-pcntl
-BuildRequires: phpunit10
+BuildRequires: phpunit11
%endif
# From composer.json, require
@@ -88,7 +89,7 @@ mkdir vendor
: Run upstream test suite
ret=0
-for cmd in php php81 php82 php83; do
+for cmd in php php82 php83; do
if which $cmd; then
$cmd -d auto_prepend_file=%{buildroot}%{php_home}/%{ns_vendor}/%{ns_project}%{major}/autoload.php \
%{_bindir}/phpunit10 || ret=1
@@ -109,6 +110,12 @@ exit $ret
%changelog
+* Mon Feb 5 2024 Remi Collet <remi@remirepo.net> - 5.0.0-1
+- update to 5.0.0
+- raise dependency on PHP 8.2
+- rename to php-phpunit-php-invoker5
+- move to /usr/share/php/SebastianBergmann/Invoker5
+
* Wed Aug 23 2023 Remi Collet <remi@remirepo.net> - 4.0.0-3
- Enable test suite