summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2020-11-05 09:35:08 +0100
committerRemi Collet <remi@remirepo.net>2020-11-05 09:35:08 +0100
commit67580c0f9372de9c5ee416de9ad97b4aebe9216a (patch)
tree7bf39a0bc65b4abde4ddc06fbd4d400982fac51b
parent72f04cd65cbd25888448338b937b63ecb0b5557e (diff)
re-add max dep versions
-rw-r--r--php-react-http.spec23
1 files changed, 20 insertions, 3 deletions
diff --git a/php-react-http.spec b/php-react-http.spec
index 36af9a3..dc71607 100644
--- a/php-react-http.spec
+++ b/php-react-http.spec
@@ -46,7 +46,7 @@
%global ringcentral_psr7_max_ver 2.0
# "react/event-loop": "^1.0 || ^0.5",
%global react_event_loop_min_ver 1.0
-%global react_event_loop__max_ver 2.0
+%global react_event_loop_max_ver 2.0
# "psr/http-message": "^1.0"
%global psr_http_message_min_ver 1.0
%global psr_http_message_max_ver 2.0
@@ -95,7 +95,7 @@ BuildRequires: (php-composer(clue/http-proxy-react) >= %{clue_http_proxy_react_m
BuildRequires: (php-composer(clue/reactphp-ssh-proxy) >= %{clue_ssh_proxy_react_min_ver} with php-composer(clue/reactphp-ssh-proxy) < %{clue_ssh_proxy_react_max_ver})
BuildRequires: (php-composer(clue/socks-react) >= %{clue_socks_react_min_ver} with php-composer(clue/socks-react) < %{clue_socks_react_max_ver})
BuildRequires: (php-composer(evenement/evenement) >= %{evenement_min_ver} with php-composer(evenement/evenement) < %{evenement_max_ver})
-BuildRequires: (php-composer(react/event-loop) >= %{react_event_loop_min_ver} with php-composer(react/event-loop) < %{react_event_loop__max_ver})
+BuildRequires: (php-composer(react/event-loop) >= %{react_event_loop_min_ver} with php-composer(react/event-loop) < %{react_event_loop_max_ver})
BuildRequires: (php-composer(react/promise-stream) >= %{react_promise_stream_min_ver} with php-composer(react/promise-stream) < %{react_promise_stream_max_ver})
BuildRequires: (php-composer(react/promise) >= %{react_promise_min_ver} with php-composer(react/promise) < %{react_promise_max_ver})
BuildRequires: (php-composer(react/socket) >= %{react_socket_min_ver} with php-composer(react/socket) < %{react_socket_max_ver})
@@ -103,14 +103,23 @@ BuildRequires: (php-composer(react/stream) >= %{react_stream_min_ver} with php-c
BuildRequires: (php-composer(ringcentral/psr7) >= %{ringcentral_psr7_min_ver} with php-composer(ringcentral/psr7) < %{ringcentral_psr7_max_ver})
BuildRequires: (php-composer(psr/http-message) >= %{psr_http_message_min_ver} with php-composer(psr/http-message) < %{psr_http_message_max_ver})
%else
+BuildRequires: php-clue-block-react < %{clue_block_react_max_ver}
BuildRequires: php-clue-block-react >= %{clue_block_react_min_ver}
+BuildRequires: php-evenement < %{evenement_max_ver}
BuildRequires: php-evenement >= %{evenement_min_ver}
+BuildRequires: php-react-event-loop < %{react_event_loop_max_ver}
BuildRequires: php-react-event-loop >= %{react_event_loop_min_ver}
+BuildRequires: php-react-promise-stream < %{react_promise_stream_max_ver}
BuildRequires: php-react-promise-stream >= %{react_promise_stream_min_ver}
+BuildRequires: php-react-promise < %{react_promise_max_ver}
BuildRequires: php-react-promise >= %{react_promise_min_ver}
+BuildRequires: php-react-socket < %{react_socket_max_ver}
BuildRequires: php-react-socket >= %{react_socket_min_ver}
+BuildRequires: php-react-stream < %{react_stream_max_ver}
BuildRequires: php-react-stream >= %{react_stream_min_ver}
+BuildRequires: php-ringcentral-psr7 < %{ringcentral_psr7_max_ver}
BuildRequires: php-ringcentral-psr7 >= %{ringcentral_psr7_min_ver}
+BuildRequires: php-psr-http-message < %{psr_http_message_max_ver}
BuildRequires: php-psr-http-message >= %{psr_http_message_min_ver}
%endif
## phpcompatinfo (computed from version 1.1.0)
@@ -129,7 +138,7 @@ BuildRequires: php-composer(fedora/autoloader)
Requires: php(language) >= %{php_min_ver}
%if %{with_range_dependencies}
Requires: (php-composer(evenement/evenement) >= %{evenement_min_ver} with php-composer(evenement/evenement) < %{evenement_max_ver})
-Requires: (php-composer(react/event-loop) >= %{react_event_loop_min_ver} with php-composer(react/event-loop) < %{react_event_loop__max_ver})
+Requires: (php-composer(react/event-loop) >= %{react_event_loop_min_ver} with php-composer(react/event-loop) < %{react_event_loop_max_ver})
Requires: (php-composer(react/promise-stream) >= %{react_promise_stream_min_ver} with php-composer(react/promise-stream) < %{react_promise_stream_max_ver})
Requires: (php-composer(react/promise) >= %{react_promise_min_ver} with php-composer(react/promise) < %{react_promise_max_ver})
Requires: (php-composer(react/socket) >= %{react_socket_min_ver} with php-composer(react/socket) < %{react_socket_max_ver})
@@ -137,13 +146,21 @@ Requires: (php-composer(react/stream) >= %{react_stream_min_ver} with php-c
Requires: (php-composer(ringcentral/psr7) >= %{ringcentral_psr7_min_ver} with php-composer(ringcentral/psr7) < %{ringcentral_psr7_max_ver})
Requires: (php-composer(psr/http-message) >= %{psr_http_message_min_ver} with php-composer(psr/http-message) < %{psr_http_message_max_ver})
%else
+Requires: php-evenement < %{evenement_max_ver}
Requires: php-evenement >= %{evenement_min_ver}
+Requires: php-react-event-loop < %{react_event_loop_max_ver}
Requires: php-react-event-loop >= %{react_event_loop_min_ver}
+Requires: php-react-promise-stream < %{react_promise_stream_max_ver}
Requires: php-react-promise-stream >= %{react_promise_stream_min_ver}
+Requires: php-react-promise < %{react_promise_max_ver}
Requires: php-react-promise >= %{react_promise_min_ver}
+Requires: php-react-socket < %{react_socket_max_ver}
Requires: php-react-socket >= %{react_socket_min_ver}
+Requires: php-react-stream < %{react_stream_max_ver}
Requires: php-react-stream >= %{react_stream_min_ver}
+Requires: php-ringcentral-psr7 < %{ringcentral_psr7_max_ver}
Requires: php-ringcentral-psr7 >= %{ringcentral_psr7_min_ver}
+Requires: php-psr-http-message < %{psr_http_message_max_ver}
Requires: php-psr-http-message >= %{psr_http_message_min_ver}
%endif
# phpcompatinfo (computed from version 1.1.0)