diff options
-rw-r--r-- | .gitignore | 3 | ||||
-rw-r--r-- | php-react-child-process.spec | 42 |
2 files changed, 27 insertions, 18 deletions
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..f677200 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +/php-react-child-process-0.4.1-3ab4f83c6f6c5862f7ca28d999a92d327472a671.tar.gz +/php-react-child-process-0.4.2-be6ebd7763170626794cbcb5c7b7ffdf5c9a4cb4.tar.gz +/php-react-child-process-0.4.3-b81d06daaafb5d7d592b6f7f8b1b7905cdef9ac6.tar.gz diff --git a/php-react-child-process.spec b/php-react-child-process.spec index e853939..66bec35 100644 --- a/php-react-child-process.spec +++ b/php-react-child-process.spec @@ -12,20 +12,21 @@ %global github_owner reactphp %global github_name child-process -%global github_version 0.4.2 -%global github_commit be6ebd7763170626794cbcb5c7b7ffdf5c9a4cb4 +%global github_version 0.4.3 +%global github_commit b81d06daaafb5d7d592b6f7f8b1b7905cdef9ac6 %global composer_vendor react %global composer_project child-process -# "php": ">=5.4.0" -%global php_min_ver 5.4.0 -# "evenement/evenement": "~2.0" +# "php": ">=5.3.0" +%global php_min_ver 5.3.0 +# "evenement/evenement": "^2.0 || ^1.0" +# NOTE: Min version not 1.0 to limit to 1 major version %global evenement_min_ver 2.0 %global evenement_max_ver 3.0 -# "react/event-loop": "0.4.*" -%global react_event_loop_min_ver 0.4.0 -%global react_event_loop_max_ver 0.5.0 +# "react/event-loop": "^0.4 || ^0.3" +%global react_event_loop_min_ver 0.3 +%global react_event_loop_max_ver 1.0 # "react/stream": "^0.5 || ^0.4.4" %global react_stream_min_ver 0.4.4 %global react_stream_max_ver 1.0 @@ -71,7 +72,7 @@ BuildRequires: php-composer(react/stream) < %{react_stream_max_ver} BuildRequires: php-composer(react/stream) >= %{react_stream_min_ver} BuildRequires: php-composer(sebastian/environment) < %{sebastian_environment_max_ver} BuildRequires: php-composer(sebastian/environment) >= %{sebastian_environment_min_ver} -## phpcompatinfo (computed from version 0.4.2) +## phpcompatinfo (computed from version 0.4.3) BuildRequires: php-pcntl BuildRequires: php-spl ## Autoloader @@ -86,7 +87,7 @@ Requires: php-composer(react/event-loop) < %{react_event_loop_max_ver} Requires: php-composer(react/event-loop) >= %{react_event_loop_min_ver} Requires: php-composer(react/stream) < %{react_stream_max_ver} Requires: php-composer(react/stream) >= %{react_stream_min_ver} -# phpcompatinfo (computed from version 0.4.2) +# phpcompatinfo (computed from version 0.4.3) Requires: php-spl # Autoloader Requires: php-composer(fedora/autoloader) @@ -143,17 +144,19 @@ require '%{buildroot}%{phpdir}/React/ChildProcess/autoload.php'; )); BOOTSTRAP -: Upstream tests -%{_bindir}/phpunit --verbose --bootstrap bootstrap.php +: Skip test known to fail +sed 's/function testProcessPidNotSameDueToShellWrapper/function SKIP_testProcessPidNotSameDueToShellWrapper/' \ + -i tests/AbstractProcessTest.php -: Upstream tests with SCLs if available -SCL_RETURN_CODE=0 -for SCL in %{?rhel:php55} php56 php70 php71; do - if which $SCL; then - $SCL %{_bindir}/phpunit --verbose --bootstrap bootstrap.php || SCL_RETURN_CODE=1 +: Upstream tests +RETURN_CODE=0 +for PHP_EXEC in php %{?rhel:php54 php55} php56 php70 php71; do + if [ "php" == "$PHP_EXEC" ] || which $PHP_EXEC; then + $PHP_EXEC %{_bindir}/phpunit --verbose --bootstrap bootstrap.php \ + || RETURN_CODE=1 fi done -exit $SCL_RETURN_CODE +exit $RETURN_CODE %else : Tests skipped %endif @@ -168,6 +171,9 @@ exit $SCL_RETURN_CODE %changelog +* Sat Apr 08 2017 Shawn Iwinski <shawn@iwin.ski> - 0.4.3-1 +- Update to 0.4.3 (RHBZ #1432449) + * Sat Mar 11 2017 Shawn Iwinski <shawn@iwin.ski> - 0.4.2-1 - Update to 0.4.2 (RHBZ #1431348) |