From 7dec38e7af389c7393a5480c31ea8c86ecced12c Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 18 Mar 2019 08:31:29 +0100 Subject: cleanup for fedora --- php-phpunit-phploc.spec | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/php-phpunit-phploc.spec b/php-phpunit-phploc.spec index 0f2b1d9..3c144c1 100644 --- a/php-phpunit-phploc.spec +++ b/php-phpunit-phploc.spec @@ -40,10 +40,12 @@ BuildRequires: php-dom BuildRequires: php-json BuildRequires: php-spl BuildRequires: php-tokenizer +# remirepo:1 %if 0%{?fedora} >= 27 || 0%{?rhel} >= 8 BuildRequires: (php-composer(sebastian/finder-facade) >= 1.1 with php-composer(sebastian/finder-facade) < 2) BuildRequires: (php-composer(sebastian/version) >= 2.0 with php-composer(sebastian/version) < 3) BuildRequires: (php-composer(symfony/console) >= 4.0 with php-composer(symfony/console) < 5) +# remirepo:5 %else BuildRequires: php-phpunit-FinderFacade >= 1.1 BuildRequires: php-phpunit-Version >= 2.0 @@ -60,10 +62,12 @@ BuildRequires: %{phpunit} # "symfony/console": "^4.0" Requires: php(language) >= 7.2 Requires: php-cli +# remirepo:1 %if 0%{?fedora} >= 27 || 0%{?rhel} >= 8 Requires: (php-composer(sebastian/finder-facade) >= 1.1 with php-composer(sebastian/finder-facade) < 2) Requires: (php-composer(sebastian/version) >= 2.0 with php-composer(sebastian/version) < 3) Requires: (php-composer(symfony/console) >= 4.0 with php-composer(symfony/console) < 5) +# remirepo:5 %else Requires: php-phpunit-FinderFacade >= 1.1 Requires: php-phpunit-Version >= 2.0 @@ -144,6 +148,7 @@ fi %files +# remirepo:1 %{!?_licensedir:%global license %%doc} %license LICENSE %doc README.md -- cgit