summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php-react-cache.spec2
1 files changed, 2 insertions, 0 deletions
diff --git a/php-react-cache.spec b/php-react-cache.spec
index 10b6b8b..ecfdc92 100644
--- a/php-react-cache.spec
+++ b/php-react-cache.spec
@@ -59,6 +59,7 @@ BuildRequires: php-phpunit-PHPUnit >= 4.8.35
%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8
BuildRequires: (php-composer(react/promise) >= %{react_promise_min_ver} with php-composer(react/promise) < %{react_promise_max_ver})
%else
+BuildRequires: php-react-promise < %{react_promise_max_ver}
BuildRequires: php-react-promise >= %{react_promise_min_ver}
%endif
## phpcompatinfo (computed from version 1.1.0)
@@ -72,6 +73,7 @@ Requires: php(language) >= %{php_min_ver}
%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8
Requires: (php-composer(react/promise) >= %{react_promise_min_ver} with php-composer(react/promise) < %{react_promise_max_ver})
%else
+Requires: php-react-promise < %{react_promise_max_ver}
Requires: php-react-promise >= %{react_promise_min_ver}
%endif
# phpcompatinfo (computed from version 1.1.0)