summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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