diff options
Diffstat (limited to 'php-league-container4.spec')
-rw-r--r-- | php-league-container4.spec | 10 |
1 files changed, 7 insertions, 3 deletions
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 <shawn@iwin.ski> +# Remi Collet <remi@remirepo.net> # # 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 |