diff options
-rw-r--r-- | phan.spec | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -34,6 +34,7 @@ BuildArch: noarch %if %{with_tests} BuildRequires: php(language) >= 7.0.0 BuildRequires: php-ast >= 0.1.5 +# remirepo:1 %if 0%{?fedora} >= 27 || 0%{?rhel} >= 8 BuildRequires: (php-composer(composer/semver) >= 1.4 with php-composer(composer/semver) < 2) BuildRequires: (php-composer(composer/xdebug-handler) >= 1.3 with php-composer(composer/xdebug-handler) < 2) @@ -41,6 +42,7 @@ BuildRequires: (php-composer(felixfbecker/advanced-json-rpc) >= 3.0 with php- BuildRequires: (php-composer(microsoft/tolerant-php-parser) >= 0.0.13 with php-composer(microsoft/tolerant-php-parser) < 1) BuildRequires: (php-composer(sabre/event) >= 5.0 with php-composer(sabre/event) < 6) BuildRequires: (php-composer(symfony/console) >= 2.8 with php-composer(symfony/console) < 5) +# remirepo:13 %else BuildRequires: php-composer(composer/semver) < 2 BuildRequires: php-composer(composer/semver) >= 1.4 @@ -89,6 +91,7 @@ Requires: php(language) >= 7.0.0 Requires: php-ast >= 0.1.5 Requires: php-filter Requires: php-json +# remirepo:1 %if 0%{?fedora} >= 27 || 0%{?rhel} >= 8 Requires: (php-composer(composer/semver) >= 1.4 with php-composer(composer/semver) < 2) Requires: (php-composer(composer/xdebug-handler) >= 1.3 with php-composer(composer/xdebug-handler) < 2) @@ -97,6 +100,7 @@ Requires: (php-composer(nikic/php-parser) >= 3.1.1 with php- Requires: (php-composer(microsoft/tolerant-php-parser) >= 0.0.13 with php-composer(microsoft/tolerant-php-parser) < 1) Requires: (php-composer(sabre/event) >= 5.0 with php-composer(sabre/event) < 6) Requires: (php-composer(symfony/console) >= 2.8 with php-composer(symfony/console) < 5) +# remirepo:13 %else Requires: php-composer(composer/semver) < 2 Requires: php-composer(composer/semver) >= 1.4 |