summaryrefslogtreecommitdiffstats
path: root/php-phpunit-phploc.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2019-03-18 08:31:29 +0100
committerRemi Collet <remi@remirepo.net>2019-03-18 08:31:29 +0100
commit7dec38e7af389c7393a5480c31ea8c86ecced12c (patch)
tree0ce621c9adc2c2862c52052f9dcbafd5a80151b8 /php-phpunit-phploc.spec
parent320520f0980f05e5b3085e23384b0a5704c39ebc (diff)
cleanup for fedora
Diffstat (limited to 'php-phpunit-phploc.spec')
-rw-r--r--php-phpunit-phploc.spec5
1 files changed, 5 insertions, 0 deletions
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