summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php-sebastian-object-enumerator4.spec4
1 files changed, 4 insertions, 0 deletions
diff --git a/php-sebastian-object-enumerator4.spec b/php-sebastian-object-enumerator4.spec
index 4806690..f8eb3bb 100644
--- a/php-sebastian-object-enumerator4.spec
+++ b/php-sebastian-object-enumerator4.spec
@@ -43,9 +43,11 @@ BuildArch: noarch
BuildRequires: php(language) >= 7.3
BuildRequires: php-fedora-autoloader-devel
%if %{with_tests}
+# remirepo:1
%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8
BuildRequires: (php-composer(%{pk_vendor}/object-reflector) >= 2.0 with php-composer(%{pk_vendor}/object-reflector) < 3)
BuildRequires: (php-composer(sebastian/recursion-context) >= 4.0 with php-composer(sebastian/recursion-context) < 5)
+# remirepo:4
%else
BuildRequires: php-sebastian-object-reflector2
BuildRequires: php-sebastian-recursion-context4
@@ -61,9 +63,11 @@ BuildRequires: phpunit8
# "sebastian/object-reflector": "^2.0",
# "sebastian/recursion-context": "^4.0"
Requires: php(language) >= 7.3
+# remirepo:1
%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8
Requires: (php-composer(%{pk_vendor}/object-reflector) >= 2.0 with php-composer(%{pk_vendor}/object-reflector) < 3)
Requires: (php-composer(sebastian/recursion-context) >= 4.0 with php-composer(sebastian/recursion-context) < 5)
+# remirepo:4
%else
Requires: php-sebastian-object-reflector2
Requires: php-sebastian-recursion-context4