From fd61ac4aea1c394a9aac6735ec452b2a55b70a9e Mon Sep 17 00:00:00 2001 From: Shawn Iwinski Date: Jan 24 2017 16:13:10 +0000 Subject: Retrict react/promise dependency to one major version - Minor update to SCL tests (only php54 and php55 if rhel) --- diff --git a/php-react-promise-timer.spec b/php-react-promise-timer.spec index 0c7cb5d..6e2e8bb 100644 --- a/php-react-promise-timer.spec +++ b/php-react-promise-timer.spec @@ -23,7 +23,8 @@ %global react_event_loop_min_ver 0.4.0 %global react_event_loop_max_ver 1.0 # "react/promise": "~2.1|~1.2" -%global react_promise_min_ver 1.2 +# NOTE: Min version not 1.2 to restrict to one major version +%global react_promise_min_ver 2.1 %global react_promise_max_ver 3.0 # Build using "--without tests" to disable tests @@ -33,7 +34,7 @@ Name: php-%{composer_vendor}-%{composer_project} Version: %{github_version} -Release: 1%{?github_release}%{?dist} +Release: 2%{?github_release}%{?dist} Summary: Trivial timeout implementation for Promises Group: Development/Libraries @@ -120,7 +121,7 @@ BOOTSTRAP : Upstream tests with SCLs if available SCL_RETURN_CODE=0 -for SCL in php54 php55 php56 php70 php71; do +for SCL in %{?rhel:php54 php55} php56 php70 php71; do if which $SCL; then $SCL %{_bindir}/phpunit --verbose --bootstrap bootstrap.php || SCL_RETURN_CODE=1 fi @@ -140,5 +141,9 @@ exit $SCL_RETURN_CODE %changelog +* Tue Jan 24 2017 Shawn Iwinski - 1.1.1-2 +- Retrict react/promise dependency to one major version +- Minor update to SCL tests (only php54 and php55 if rhel) + * Tue Jan 17 2017 Shawn Iwinski - 1.1.1-1 - Initial package