summaryrefslogtreecommitdiffstats
path: root/php-zendframework-zend-diactoros.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2018-03-30 09:53:26 +0200
committerRemi Collet <remi@remirepo.net>2018-03-30 09:53:26 +0200
commitbe10996be782d22ed7c8e62c4ac93946654851e9 (patch)
tree194b0237e182f237a481ebe22ee4b5a62d38ac89 /php-zendframework-zend-diactoros.spec
parentbc9eb16e15d93904de37822b514eb702273be8e7 (diff)
update to 1.7.1
use range dependencies on F27+
Diffstat (limited to 'php-zendframework-zend-diactoros.spec')
-rw-r--r--php-zendframework-zend-diactoros.spec19
1 files changed, 14 insertions, 5 deletions
diff --git a/php-zendframework-zend-diactoros.spec b/php-zendframework-zend-diactoros.spec
index d8461ca..efe91d2 100644
--- a/php-zendframework-zend-diactoros.spec
+++ b/php-zendframework-zend-diactoros.spec
@@ -12,8 +12,8 @@
%global github_owner zendframework
%global github_name zend-diactoros
-%global github_version 1.7.0
-%global github_commit ed6ce7e2105c400ca10277643a8327957c0384b7
+%global github_version 1.7.1
+%global github_commit bf26aff803a11c5cc8eb7c4878a702c403ec67f1
%global composer_vendor zendframework
%global composer_project zend-diactoros
@@ -48,14 +48,15 @@ BuildArch: noarch
%if %{with_tests}
## composer.json
BuildRequires: php(language) >= %{php_min_ver}
-%if 0%{?fedora} >= 26
+%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8
%global phpunit %{_bindir}/phpunit6
+BuildRequires: (php-composer(psr/http-message) >= %{psr_http_message_min_ver} with php-composer(psr/http-message) < %{psr_http_message_max_ver})
%else
%global phpunit %{_bindir}/phpunit
-%endif
-BuildRequires: %{phpunit}
BuildRequires: php-composer(psr/http-message) < %{psr_http_message_max_ver}
BuildRequires: php-composer(psr/http-message) >= %{psr_http_message_min_ver}
+%endif
+BuildRequires: %{phpunit}
BuildRequires: php-dom
BuildRequires: php-libxml
## phpcompatinfo (computed from version 1.6.0)
@@ -74,8 +75,12 @@ BuildRequires: php-fedora-autoloader-devel
# composer.json
Requires: php(language) >= %{php_min_ver}
+%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8
+Requires: (php-composer(psr/http-message) >= %{psr_http_message_min_ver} with php-composer(psr/http-message) < %{psr_http_message_max_ver})
+%else
Requires: php-composer(psr/http-message) < %{psr_http_message_max_ver}
Requires: php-composer(psr/http-message) >= %{psr_http_message_min_ver}
+%endif
# phpcompatinfo (computed from version 1.4.1)
Requires: php-json
Requires: php-pcre
@@ -166,6 +171,10 @@ exit $RETURN_CODE
%changelog
+* Fri Mar 30 2018 Remi Collet <remi@remirepo.net> - 1.7.1-1
+- update to 1.7.1
+- use range dependencies on F27+
+
* Fri Jan 5 2018 Remi Collet <remi@remirepo.net> - 1.7.0-1
- Update to 1.7.0