summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php-sebastian-comparator3.spec4
1 files changed, 4 insertions, 0 deletions
diff --git a/php-sebastian-comparator3.spec b/php-sebastian-comparator3.spec
index 6b4b783..cd26086 100644
--- a/php-sebastian-comparator3.spec
+++ b/php-sebastian-comparator3.spec
@@ -35,9 +35,11 @@ Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit
BuildArch: noarch
BuildRequires: php(language) >= 7.1
+# remirepo:1
%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8
BuildRequires: (php-composer(%{pk_vendor}/diff) >= 3.0 with php-composer(%{pk_vendor}/diff) < 4)
BuildRequires: (php-composer(%{pk_vendor}/exporter) >= 3.1 with php-composer(%{pk_vendor}/exporter) < 4)
+# remirepo:4
%else
BuildRequires: php-sebastian-diff3
BuildRequires: php-sebastian-exporter3 >= 3.1
@@ -54,9 +56,11 @@ BuildRequires: phpunit7 >= 7.1
# "sebastian/diff": "^3.0",
# "sebastian/exporter": "^3.1"
Requires: php(language) >= 7.1
+# remirepo:1
%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8
Requires: (php-composer(%{pk_vendor}/diff) >= 3.0 with php-composer(%{pk_vendor}/diff) < 4)
Requires: (php-composer(%{pk_vendor}/exporter) >= 3.1 with php-composer(%{pk_vendor}/exporter) < 4)
+# remirepo:4
%else
Requires: php-sebastian-diff3
Requires: php-sebastian-exporter3 >= 3.1