From 8660ac45a8edc5e70eb4c1791a5ab7757952baf9 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 12 Jul 2019 16:11:19 +0200 Subject: cleanup for Fedora --- php-nyholm-psr7.spec | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/php-nyholm-psr7.spec b/php-nyholm-psr7.spec index e5cf69d..01c5956 100644 --- a/php-nyholm-psr7.spec +++ b/php-nyholm-psr7.spec @@ -51,10 +51,12 @@ BuildArch: noarch BuildRequires: php(language) >= 7.1 BuildRequires: php-pcre BuildRequires: php-spl +# remirepo:1 %if 0%{?fedora} >= 27 || 0%{?rhel} >= 8 BuildRequires: (php-composer(psr/http-message) >= 1.0 with php-composer(psr/http-message) < 2) BuildRequires: (php-composer(php-http/message-factory) >= 1.0 with php-composer(php-http/message-factory) < 2) BuildRequires: (php-composer(psr/http-factory) >= 1.0 with php-composer(psr/http-factory) < 2) +# remirepo:5 %else BuildRequires: php-psr-http-message BuildRequires: php-http-message-factory @@ -76,10 +78,12 @@ BuildRequires: phpunit7 > 7.5 # "php-http/message-factory": "^1.0", # "psr/http-factory": "^1.0" Requires: php(language) >= 7.1 +# remirepo:1 %if 0%{?fedora} >= 27 || 0%{?rhel} >= 8 Requires: (php-composer(psr/http-message) >= 1.0 with php-composer(psr/http-message) < 2) Requires: (php-composer(php-http/message-factory) >= 1.0 with php-composer(php-http/message-factory) < 2) Requires: (php-composer(psr/http-factory) >= 1.0 with php-composer(psr/http-factory) < 2) +# remirepo:5 %else Requires: php-psr-http-message Requires: php-http-message-factory @@ -156,6 +160,7 @@ exit $ret %files +# remirepo:1 %{!?_licensedir:%global license %%doc} %license LICENSE %doc *.md -- cgit