From 680a1044aee0976aa275d5776cb0f9ac1f212326 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 5 Jun 2018 07:28:44 +0200 Subject: cleanup for Fedora --- php-cs-fixer-phpunit-constraint-isidenticalstring.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-cs-fixer-phpunit-constraint-isidenticalstring.spec b/php-cs-fixer-phpunit-constraint-isidenticalstring.spec index 334fbb8..59c0d78 100644 --- a/php-cs-fixer-phpunit-constraint-isidenticalstring.spec +++ b/php-cs-fixer-phpunit-constraint-isidenticalstring.spec @@ -23,7 +23,6 @@ Version: 1.0.0 Release: 1%{?dist} Summary: Constraint for testing strings considering not-same line endings -Group: Development/Tools License: MIT URL: https://github.com/%{gh_owner}/%{gh_project} # git snapshot to get upstream test suite @@ -42,9 +41,11 @@ BuildRequires: php-pcre %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 @@ -58,8 +59,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