diff options
author | Remi Collet <remi@remirepo.net> | 2018-06-05 07:43:54 +0200 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2018-06-05 07:43:54 +0200 |
commit | 3deabde01abd64bd238d6c644ba164387178b378 (patch) | |
tree | 5450743a3e46b2b0377f6064d2a24399cb5daf2c /php-cs-fixer-phpunit-constraint-xmlmatchesxsd.spec | |
parent | e5327e99e921c892b9a3155a0cb9f6cc22318e94 (diff) |
cleanup for Fedora
Diffstat (limited to 'php-cs-fixer-phpunit-constraint-xmlmatchesxsd.spec')
-rw-r--r-- | php-cs-fixer-phpunit-constraint-xmlmatchesxsd.spec | 5 |
1 files changed, 4 insertions, 1 deletions
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 |