diff options
Diffstat (limited to 'php-react-async.spec')
-rw-r--r-- | php-react-async.spec | 22 |
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 |