summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php-cs-fixer-phpunit-constraint-xmlmatchesxsd.spec8
1 files changed, 6 insertions, 2 deletions
diff --git a/php-cs-fixer-phpunit-constraint-xmlmatchesxsd.spec b/php-cs-fixer-phpunit-constraint-xmlmatchesxsd.spec
index 8173062..70e0bc0 100644
--- a/php-cs-fixer-phpunit-constraint-xmlmatchesxsd.spec
+++ b/php-cs-fixer-phpunit-constraint-xmlmatchesxsd.spec
@@ -39,12 +39,16 @@ BuildRequires: php-libxml
# "johnkary/phpunit-speedtrap": "^1.1 || ^2.0 || ^3.0",
# "symfony/phpunit-bridge": "^3.2.2 || ^4.0"
# ignore phpunit listeners
-%if 0%{?fedora} >= 31 || 0%{?rhel} >= 9
+# remirepo:1
+%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8
BuildRequires: (php-composer(phpunitgoodpractices/polyfill) >= 1.4 with php-composer(phpunitgoodpractices/polyfill) < 2)
-BuildRequires: phpunit9
+# remirepo:3
%else
BuildRequires: php-phpunitgoodpractices-polyfill >= 1.4
%endif
+%if 0%{?fedora} >= 31 || 0%{?rhel} >= 9
+BuildRequires: phpunit9
+%endif
BuildRequires: phpunit8
BuildRequires: phpunit7 >= 7.5.20
BuildRequires: phpunit6 >= 6.5.14