From 65f228b763e65cb82f5fc81b6c5781f2ce2a1eab Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 25 Oct 2021 15:03:51 +0200 Subject: clean --- php-league-container4.spec | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'php-league-container4.spec') diff --git a/php-league-container4.spec b/php-league-container4.spec index e4bf24e..cf81ec1 100644 --- a/php-league-container4.spec +++ b/php-league-container4.spec @@ -1,8 +1,7 @@ -# remirepo spec file for php-league-container -# -# Fedora spec file for php-league-container +# remirepo/fedora spec file for php-league-container4 # # Copyright (c) 2016-2021 Shawn Iwinski +# Remi Collet # # License: MIT # http://opensource.org/licenses/MIT @@ -50,8 +49,10 @@ BuildArch: noarch ## composer.json BuildRequires: php(language) >= %{php_min_ver} BuildRequires: phpunit8 >= 8.5.17 +# remirepo:1 %if 0%{?fedora} >= 27 || 0%{?rhel} >= 8 BuildRequires: (php-composer(psr/container) >= %{psr_container_min_ver} with php-composer(psr/container) < %{psr_container_max_ver}) +# remirepo:4 %else BuildRequires: php-composer(psr/container) >= %{psr_container_min_ver} BuildRequires: php-composer(psr/container) < %{psr_container_max_ver} @@ -65,8 +66,10 @@ BuildRequires: php-composer(fedora/autoloader) # composer.json Requires: php(language) >= %{php_min_ver} +# remirepo:1 %if 0%{?fedora} >= 27 || 0%{?rhel} >= 8 Requires: (php-composer(psr/container) >= %{psr_container_min_ver} with php-composer(psr/container) < %{psr_container_max_ver}) +# remirepo:4 %else Requires: php-composer(psr/container) >= %{psr_container_min_ver} Requires: php-composer(psr/container) < %{psr_container_max_ver} @@ -151,6 +154,7 @@ exit $RETURN_CODE %files +# remirepo:1 %{!?_licensedir:%global license %%doc} %license LICENSE.md %doc CHANGELOG.md -- cgit