summaryrefslogtreecommitdiffstats
path: root/php-nyholm-psr7.spec
diff options
context:
space:
mode:
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