summaryrefslogtreecommitdiffstats
path: root/php-nyholm-psr7.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2019-07-12 16:11:19 +0200
committerRemi Collet <remi@remirepo.net>2019-07-12 16:11:19 +0200
commit8660ac45a8edc5e70eb4c1791a5ab7757952baf9 (patch)
tree200222785a71cfdf423e0cfbdadd5ee0996ba64f /php-nyholm-psr7.spec
parent38de66dd04f12f0a6444d20044ddd665b90a0fea (diff)
cleanup for Fedora
Diffstat (limited to 'php-nyholm-psr7.spec')
-rw-r--r--php-nyholm-psr7.spec5
1 files changed, 5 insertions, 0 deletions
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