summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2020-11-04 17:01:56 +0100
committerRemi Collet <remi@remirepo.net>2020-11-04 17:01:56 +0100
commit72f04cd65cbd25888448338b937b63ecb0b5557e (patch)
treebdf410a111249c73cb4099519e2b98a17e3298d1
parent1010bb776114b591d915fcf105c195a20a0d21f3 (diff)
drop unneeded build dependency (only used in example)
-rw-r--r--php-react-http.spec28
1 files changed, 9 insertions, 19 deletions
diff --git a/php-react-http.spec b/php-react-http.spec
index 8bd37a6..36af9a3 100644
--- a/php-react-http.spec
+++ b/php-react-http.spec
@@ -23,15 +23,9 @@
# "clue/block-react": "^1.1"
%global clue_block_react_min_ver 1.1
%global clue_block_react_max_ver 2.0
-# "clue/http-proxy-react": "^1.3",
-%global clue_http_proxy_react_min_ver 1.3
-%global clue_http_proxy_react_max_ver 2.0
-# "clue/reactphp-ssh-proxy": "^1.0",
-%global clue_ssh_proxy_react_min_ver 1.0
-%global clue_ssh_proxy_react_max_ver 2.0
-# "clue/socks-react": "^1.0",
-%global clue_socks_react_min_ver 1.0
-%global clue_socks_react_max_ver 2.0
+# "clue/http-proxy-react": "^1.3", ignored as only used in examples
+# "clue/reactphp-ssh-proxy": "^1.0", ignored as only used in examples
+# "clue/socks-react": "^1.0", ignored as only used in examples
# "evenement/evenement": "^3.0 || ^2.0 || ^1.0"
%global evenement_min_ver 1.0
%global evenement_max_ver 4.0
@@ -110,9 +104,6 @@ BuildRequires: (php-composer(ringcentral/psr7) >= %{ringcentral_psr7_min_ver} wi
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_min_ver}
-BuildRequires: php-clue-http-proxy-react >= %{clue_http_proxy_react_min_ver}
-BuildRequires: php-clue-reactphp-ssh-proxy >= %{clue_ssh_proxy_react_min_ver}
-BuildRequires: php-clue-socks-react >= %{clue_socks_react_min_ver}
BuildRequires: php-evenement >= %{evenement_min_ver}
BuildRequires: php-react-event-loop >= %{react_event_loop_min_ver}
BuildRequires: php-react-promise-stream >= %{react_promise_stream_min_ver}
@@ -122,10 +113,13 @@ BuildRequires: php-react-stream >= %{react_stream_min_ver}
BuildRequires: php-ringcentral-psr7 >= %{ringcentral_psr7_min_ver}
BuildRequires: php-psr-http-message >= %{psr_http_message_min_ver}
%endif
-## phpcompatinfo (computed from version 0.8.6)
+## phpcompatinfo (computed from version 1.1.0)
+BuildRequires: php-reflection
+BuildRequires: php-simplexml
BuildRequires: php-date
BuildRequires: php-json
BuildRequires: php-pcre
+BuildRequires: php-sockets
BuildRequires: php-spl
## Autoloader
BuildRequires: php-composer(fedora/autoloader)
@@ -152,9 +146,10 @@ Requires: php-react-stream >= %{react_stream_min_ver}
Requires: php-ringcentral-psr7 >= %{ringcentral_psr7_min_ver}
Requires: php-psr-http-message >= %{psr_http_message_min_ver}
%endif
-# phpcompatinfo (computed from version 0.8.6)
+# phpcompatinfo (computed from version 1.1.0)
Requires: php-date
Requires: php-pcre
+Requires: php-sockets
Requires: php-spl
# Autoloader
Requires: php-composer(fedora/autoloader)
@@ -224,9 +219,6 @@ require '%{buildroot}%{phpdir}/React/Http/autoload.php';
\Fedora\Autoloader\Dependencies::required(array(
'%{phpdir}/Clue/React/Block/autoload.php',
- '%{phpdir}/Clue/React/SshProxy/autoload.php',
- '%{phpdir}/Clue/React/Socks/autoload.php',
- '%{phpdir}/Clue/React/HttpProxy/autoload.php',
));
BOOTSTRAP
@@ -260,8 +252,6 @@ exit $RETURN_CODE
- add dependency on psr/http-message
- raise dependency on react/socket 1.6
- raise dependency on react/stream 1.1
-- add build dependency on clue/http-proxy-react,
- clue/reactphp-ssh-proxy and clue/socks-react
- switch to phpunit9
* Sat Jun 06 2020 Shawn Iwinski <shawn@iwin.ski> - 0.8.6-1