summaryrefslogtreecommitdiffstats
path: root/phan.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2018-09-07 08:27:48 +0200
committerRemi Collet <remi@remirepo.net>2018-09-07 08:27:48 +0200
commit80ccbcd824cfb0b4522ba795fecff39019ad2668 (patch)
tree187f7ef7fac9feae9bb877dc6ffb226d27261a19 /phan.spec
parent08ab38e34c1d1b68892f7bd0300ce6f0e187f099 (diff)
fedora cleanup
Diffstat (limited to 'phan.spec')
-rw-r--r--phan.spec4
1 files changed, 4 insertions, 0 deletions
diff --git a/phan.spec b/phan.spec
index 8a71de3..07deffb 100644
--- a/phan.spec
+++ b/phan.spec
@@ -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