summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2018-12-06 15:51:26 +0100
committerRemi Collet <remi@remirepo.net>2018-12-06 15:51:26 +0100
commit3bdea34d58ef7ae5c0593edc8914c58fa0ebaf0a (patch)
tree7518ec9dd52da00abcb5013de3e076a19a959873
parenta9574f1dba8d5b6bbd0100198af1d9e09605815f (diff)
cleanup for EL-8
-rw-r--r--php-zendframework-zend-view.spec15
1 files changed, 6 insertions, 9 deletions
diff --git a/php-zendframework-zend-view.spec b/php-zendframework-zend-view.spec
index feaa80a..fe0fe49 100644
--- a/php-zendframework-zend-view.spec
+++ b/php-zendframework-zend-view.spec
@@ -21,7 +21,7 @@
Name: php-%{gh_owner}-%{gh_project}
Version: 2.10.0
-Release: 1%{?dist}
+Release: 4%{?dist}
Summary: Zend Framework %{library} component
Group: Development/Libraries
@@ -89,13 +89,7 @@ BuildRequires: php-composer(%{gh_owner}/zend-session) >= 2.8.1
BuildRequires: php-composer(%{gh_owner}/zend-uri) >= 2.5
BuildRequires: phpunit6
# Not in composer.json
-%if 0%{?fedora} >= 26
-BuildRequires: php-composer(%{gh_owner}/zend-mvc-plugin-flashmessenger)
-BuildRequires: php-composer(%{gh_owner}/zend-mvc-i18n)
-BuildRequires: php-composer(%{gh_owner}/zend-mvc-console)
-%endif
-# remirepo:5
-%if 0%{?fedora} == 25
+%if 0%{?fedora} >= 26 || 0%{?rhel} >= 8
BuildRequires: php-composer(%{gh_owner}/zend-mvc-plugin-flashmessenger)
BuildRequires: php-composer(%{gh_owner}/zend-mvc-i18n)
BuildRequires: php-composer(%{gh_owner}/zend-mvc-console)
@@ -131,7 +125,7 @@ Requires: php-autoloader(%{gh_owner}/zend-stdlib) < 4
# "zendframework/zend-permissions-acl": "Zend\\Permissions\\Acl component",
# "zendframework/zend-servicemanager": "Zend\\ServiceManager component",
# "zendframework/zend-uri": "Zend\\Uri component"
-%if 0%{?fedora} >= 21
+%if 0%{?fedora} >= 21 || 0%{?rhel} >= 8
Suggests: php-composer(%{gh_owner}/zend-authentication)
Suggests: php-composer(%{gh_owner}/zend-escaper)
Suggests: php-composer(%{gh_owner}/zend-feed)
@@ -266,6 +260,9 @@ exit $ret
%changelog
+* Thu Dec 6 2018 Remi Collet <remi@remirepo.net> - 2.10.0-4
+- cleanup for EL-8
+
* Thu Jan 18 2018 Remi Collet <remi@remirepo.net> - 2.10.0-1
- Update to 2.10.0
- only use phpunit6