From 39b37d6dbd16018a6a4c3197c445df252b212516 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 12 Jul 2021 08:01:36 +0200 Subject: update to 1.2.0 --- php-react-event-loop.spec | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) (limited to 'php-react-event-loop.spec') diff --git a/php-react-event-loop.spec b/php-react-event-loop.spec index 9e52a07..d8bc4e4 100644 --- a/php-react-event-loop.spec +++ b/php-react-event-loop.spec @@ -12,8 +12,8 @@ %global github_owner reactphp %global github_name event-loop -%global github_version 1.1.1 -%global github_commit 6d24de090cd59cfc830263cfba965be77b563c13 +%global github_version 1.2.0 +%global github_commit be6dee480fc4692cec0504e65eb486e3be1aa6f2 %global composer_vendor react %global composer_project event-loop @@ -127,12 +127,8 @@ require '%{buildroot}%{phpdir}/React/EventLoop/autoload.php'; \Fedora\Autoloader\Autoload::addPsr4('React\\Tests\\EventLoop\\', __DIR__.'/tests'); BOOTSTRAP -: for phpunit8/9 -find tests -name \*.php \ - -exec sed \ - -e 's/function setUp()/function setUp():void/' \ - -e 's/function tearDown()/function tearDown():void/' \ - -i {} \; +: Fix autoloader path +sed -e '/autoload.php/s:^.*$:require "%{buildroot}%{phpdir}/React/EventLoop/autoload.php";:' -i tests/bin/*.php : Upstream tests RETURN_CODE=0 @@ -159,6 +155,9 @@ exit $RETURN_CODE %changelog +* Mon Jul 12 2021 Remi Collet - 1.2.0-1 +- update to 1.2.0 + * Wed Nov 4 2020 Remi Collet - 1.1.1-1 - update to 1.1.1 - switch to phpunit9 -- cgit