From 3deabde01abd64bd238d6c644ba164387178b378 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 5 Jun 2018 07:43:54 +0200 Subject: cleanup for Fedora --- php-cs-fixer-phpunit-constraint-xmlmatchesxsd.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-cs-fixer-phpunit-constraint-xmlmatchesxsd.spec b/php-cs-fixer-phpunit-constraint-xmlmatchesxsd.spec index 81e7c4b..e958798 100644 --- a/php-cs-fixer-phpunit-constraint-xmlmatchesxsd.spec +++ b/php-cs-fixer-phpunit-constraint-xmlmatchesxsd.spec @@ -23,7 +23,6 @@ Version: 1.0.0 Release: 1%{?dist} Summary: Constraint for testing XML against XSD -Group: Development/Tools License: MIT URL: https://github.com/%{gh_owner}/%{gh_project} # git snapshot to get upstream test suite @@ -44,9 +43,11 @@ BuildRequires: php-libxml %if 0%{?fedora} >= 28 || 0%{?rhel} >= 8 BuildRequires: phpunit7 %endif +# remirepo:1 %if 0%{?fedora} >= 27 || 0%{?rhel} >= 8 BuildRequires: (php-composer(phpunitgoodpractices/polyfill) >= 1.0 with php-composer(phpunitgoodpractices/polyfill) < 2) BuildRequires: phpunit6 >= 6.4.3 +# remirepo:3 %else BuildRequires: php-phpunitgoodpractices-polyfill %endif @@ -60,8 +61,10 @@ BuildRequires: php-fedora-autoloader-devel # "phpunit/phpunit": "^5.7.23 || ^6.4.3 || ^7.0", # "phpunitgoodpractices/polyfill": "^1.0" Requires: php(language) >= 5.5 +# remirepo:1 %if 0%{?fedora} >= 27 || 0%{?rhel} >= 8 Requires: (php-composer(phpunitgoodpractices/polyfill) >= 1.0 with php-composer(phpunitgoodpractices/polyfill) < 2) +# remirepo:3 %else Requires: php-phpunitgoodpractices-polyfill %endif -- cgit