summaryrefslogtreecommitdiffstats
path: root/php-react-async.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2022-09-23 16:05:25 +0200
committerRemi Collet <remi@php.net>2022-09-23 16:05:25 +0200
commit2e477293418531c6223a142b7324c1c9dcbe8547 (patch)
treedc16207478dbfeb651762e318989ab7787669b29 /php-react-async.spec
parent7c31ce6a8dd9db1183a4fc258eb4c8001a798ba3 (diff)
update to 4.0.0HEADmaster
raise dependency on PHP 8.1
Diffstat (limited to 'php-react-async.spec')
-rw-r--r--php-react-async.spec22
1 files changed, 14 insertions, 8 deletions
diff --git a/php-react-async.spec b/php-react-async.spec
index fe99883..0072ca7 100644
--- a/php-react-async.spec
+++ b/php-react-async.spec
@@ -10,8 +10,8 @@
%global github_owner reactphp
%global github_name async
-%global github_version 3.0.0
-%global github_commit 3c3b812be77aec14bf8300b052ba589c9a5bc95b
+%global github_version 4.0.0
+%global github_commit 2aa8d89057e1059f59666e4204100636249b7be0
%global composer_vendor react
%global composer_project async
@@ -19,8 +19,8 @@
%global ns_vendor React
%global ns_project Async
-# "php": ">=7.1"
-%global php_min_ver 7.1
+# "php": ">=8.1"
+%global php_min_ver 8.1
# "react/event-loop": "^1.2",
%global react_event_loop_min_ver 1.2
%global react_event_loop_max_ver 2
@@ -114,9 +114,11 @@ Autoloader: %{phpdir}/%{ns_vendor}/%{ns_project}/autoload.php
%build
: Create autoloader
-cat <<'AUTOLOAD' | tee src/autoload.php
-<?php
-require_once '%{phpdir}/Fedora/Autoloader/autoload.php';
+phpab --template fedora \
+ --output src/autoload.php \
+ src
+
+cat <<'AUTOLOAD' | tee -a src/autoload.php
\Fedora\Autoloader\Dependencies::required(array(
__DIR__ . '/functions_include.php',
@@ -142,7 +144,7 @@ BOOTSTRAP
: Upstream tests
RETURN_CODE=0
-for PHP_EXEC in php php80 php81 php82; do
+for PHP_EXEC in php php81 php82; do
if which $PHP_EXEC; then
$PHP_EXEC %{_bindir}/phpunit9 --verbose --bootstrap bootstrap.php \
|| RETURN_CODE=1
@@ -163,5 +165,9 @@ exit $RETURN_CODE
%changelog
+* Fri Sep 23 2022 Remi Collet <remi@remirepo.net> - 4.0.0-1
+- update to 4.0.0
+- raise dependency on PHP 8.1
+
* Fri Sep 23 2022 Remi Collet <remi@remirepo.net> - 3.0.0-1
- Initial package