summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2021-07-12 08:22:54 +0200
committerRemi Collet <remi@remirepo.net>2021-07-12 08:22:54 +0200
commit70271ef7072c41674b8c4ee18143b6f9c06f81a6 (patch)
treef000fc2b453fb0282a1bbcec037857e906110c00
parentc1186950d2ed3110e0210ec2e268d65681bc634b (diff)
update to 0.6.3
raise dependency on react/event-loop 1.2 raise dependency on react/stream 1.2 raise build dependency on react/socket 1.8
-rw-r--r--composer.json6
l---------makesrc.sh2
-rw-r--r--php-react-child-process.spec27
3 files changed, 19 insertions, 16 deletions
diff --git a/composer.json b/composer.json
index bdaa7a8..32aa713 100644
--- a/composer.json
+++ b/composer.json
@@ -28,12 +28,12 @@
"require": {
"php": ">=5.3.0",
"evenement/evenement": "^3.0 || ^2.0 || ^1.0",
- "react/event-loop": "^1.0 || ^0.5 || ^0.4 || ^0.3.5",
- "react/stream": "^1.0 || ^0.7.6"
+ "react/event-loop": "^1.2",
+ "react/stream": "^1.2"
},
"require-dev": {
"phpunit/phpunit": "^9.3 || ^5.7 || ^4.8.35",
- "react/socket": "^1.0",
+ "react/socket": "^1.8",
"sebastian/environment": "^5.0 || ^3.0 || ^2.0 || ^1.0"
},
"autoload": {
diff --git a/makesrc.sh b/makesrc.sh
index 7b1a633..37c0d20 120000
--- a/makesrc.sh
+++ b/makesrc.sh
@@ -1 +1 @@
-php-react-cache-get-source.sh \ No newline at end of file
+php-react-child-process-get-source.sh \ No newline at end of file
diff --git a/php-react-child-process.spec b/php-react-child-process.spec
index 2c872aa..1b2bd89 100644
--- a/php-react-child-process.spec
+++ b/php-react-child-process.spec
@@ -12,8 +12,8 @@
%global github_owner reactphp
%global github_name child-process
-%global github_version 0.6.2
-%global github_commit 70486012c0265264d2afa489ff32e7cdb76000d9
+%global github_version 0.6.3
+%global github_commit 45e6e3a363e531ed1aafb58e3886c4561432a2a0
%global composer_vendor react
%global composer_project child-process
@@ -23,14 +23,14 @@
# "evenement/evenement": "^3.0 || ^2.0 || ^1.0"
%global evenement_min_ver 2.0
%global evenement_max_ver 4.0
-# "react/event-loop": "^1.0 || ^0.5 || ^0.4 || ^0.3.5"
-%global react_event_loop_min_ver 0.3.5
+# "react/event-loop": "^1.2"
+%global react_event_loop_min_ver 1.2
%global react_event_loop_max_ver 2.0
-# "react/socket": "^1.0"
-%global react_socket_min_ver 1.0
+# "react/socket": "^1.8"
+%global react_socket_min_ver 1.8
%global react_socket_max_ver 2.0
-# "react/stream": "^1.0 || ^0.7.6"
-%global react_stream_min_ver 0.7.6
+# "react/stream": "^1.2"
+%global react_stream_min_ver 1.2
%global react_stream_max_ver 2.0
# "sebastian/environment": "^5.0 || ^3.0 || ^2.0 || ^1.0"
%global sebastian_environment_min_ver 1.0
@@ -166,16 +166,13 @@ require '%{buildroot}%{phpdir}/React/ChildProcess/autoload.php';
));
BOOTSTRAP
-: Skip test known to fail
-sed 's/function testProcessPidNotSameDueToShellWrapper/function SKIP_testProcessPidNotSameDueToShellWrapper/' \
- -i tests/AbstractProcessTest.php
-
: Upstream tests
RETURN_CODE=0
for CMDARG in "php %{phpunit}" "php72 %{_bindir}/phpunit" php73 php80; do
if which $CMDARG; then
set $CMDARG
$1 ${2:-%{_bindir}/phpunit9} --verbose \
+ --filter '^((?!(testProcessPidNotSameDueToShellWrapper)).)*$' \
|| RETURN_CODE=1
fi
done
@@ -194,6 +191,12 @@ exit $RETURN_CODE
%changelog
+* Mon Jul 12 2021 Remi Collet <remi@remirepo.net> - 0.6.3-1
+- update to 0.6.3
+- raise dependency on react/event-loop 1.2
+- raise dependency on react/stream 1.2
+- raise build dependency on react/socket 1.8
+
* Fri Feb 5 2021 Remi Collet <remi@remirepo.net> - 0.6.2-1
- update to 0.6.2
- switch to phpunit9