diff options
-rw-r--r-- | php-zendframework-zend-feed.spec | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/php-zendframework-zend-feed.spec b/php-zendframework-zend-feed.spec index 2058b55..72a8830 100644 --- a/php-zendframework-zend-feed.spec +++ b/php-zendframework-zend-feed.spec @@ -60,7 +60,11 @@ BuildRequires: php-composer(%{gh_owner}/zend-db) >= 2.8.2 BuildRequires: php-composer(%{gh_owner}/zend-http) >= 2.7 BuildRequires: php-composer(%{gh_owner}/zend-servicemanager) >= 2.7.8 BuildRequires: php-composer(%{gh_owner}/zend-validator) >= 2.10.1 +%if 0%{?fedora} >= 26 +%global phpunit %{_bindir}/phpunit6 +%else %global phpunit %{_bindir}/phpunit +%endif BuildRequires: %{phpunit} # Because of boostraped Db BuildRequires: php-composer(%{gh_owner}/zend-eventmanager) >= 2.5 @@ -87,6 +91,13 @@ Requires: php-composer(%{gh_owner}/zend-stdlib) < 4 # "zendframework/zend-validator": "Zend\\Validator component, for validating feeds and Atom entries in the Writer subcomponent" Requires: php-composer(psr/http-message) < 2 Requires: php-composer(psr/http-message) >= 1.0.1 +%if 0%{?fedora} >= 21 +Suggests: php-composer(%{gh_owner}/zend-cache) +Suggests: php-composer(%{gh_owner}/zend-db) +Suggests: php-composer(%{gh_owner}/zend-http) +Suggests: php-composer(%{gh_owner}/zend-servicemanager) +Suggests: php-composer(%{gh_owner}/zend-validator) +%endif %endif # From phpcompatinfo report for version 2.6.0 Requires: php-ctype |