From f218eaba85c15e65dfa8e6c55299f789002b1e1f Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 7 Jan 2019 08:29:18 +0100 Subject: update to 6.2.23 use range dependencies --- php-horde-imp.spec | 57 ++++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 55 insertions(+), 2 deletions(-) diff --git a/php-horde-imp.spec b/php-horde-imp.spec index b432cd7..ee24dd8 100644 --- a/php-horde-imp.spec +++ b/php-horde-imp.spec @@ -1,6 +1,6 @@ # remirepo/fedora spec file for php-horde-imp # -# Copyright (c) 2012-2018 Remi Collet +# Copyright (c) 2012-2019 Remi Collet # License: CC-BY-SA # http://creativecommons.org/licenses/by-sa/4.0/ # @@ -11,7 +11,7 @@ %global pear_channel pear.horde.org Name: php-horde-imp -Version: 6.2.22 +Version: 6.2.23 Release: 1%{?dist} Summary: A web based webmail system @@ -27,9 +27,15 @@ BuildRequires: php-pear(PEAR) >= 1.7.0 BuildRequires: php-channel(%{pear_channel}) BuildRequires: php-pear(%{pear_channel}/Horde_Role) >= 1.0.0 # To run unit tests +%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8 +BuildRequires: (php-pear(%{pear_channel}/Horde_Test) >= 2.1.0 with php-pear(%{pear_channel}/Horde_Test) < 3) +BuildRequires: (php-pear(%{pear_channel}/Horde_Core) >= 2.17.0 with php-pear(%{pear_channel}/Horde_Core) < 3) +BuildRequires: (php-pear(%{pear_channel}/Horde_Itip) >= 2.0.0 with php-pear(%{pear_channel}/Horde_Itip) < 3) +%else BuildRequires: php-pear(%{pear_channel}/Horde_Test) >= 2.1.0 BuildRequires: php-pear(%{pear_channel}/Horde_Core) >= 2.17.0 BuildRequires: php-pear(%{pear_channel}/Horde_Itip) >= 2.0.0 +%endif Requires(post): %{__pear} Requires(postun): %{__pear} @@ -46,6 +52,48 @@ Requires: php-json Requires: php-pear(PEAR) >= 1.7.0 Requires: php-channel(%{pear_channel}) Requires: php-pear(%{pear_channel}/Horde_Role) >= 1.0.0 +%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8 +Requires: (php-pear(%{pear_channel}/horde) >= 5.0.0 with php-pear(%{pear_channel}/horde) < 6) +Requires: (php-pear(%{pear_channel}/Horde_Auth) >= 2.0.0 with php-pear(%{pear_channel}/Horde_Auth) < 3) +Requires: (php-pear(%{pear_channel}/Horde_Browser) >= 2.0.0 with php-pear(%{pear_channel}/Horde_Browser) < 3) +Requires: (php-pear(%{pear_channel}/Horde_Cache) >= 2.0.0 with php-pear(%{pear_channel}/Horde_Cache) < 3) +Requires: (php-pear(%{pear_channel}/Horde_Compress) >= 2.0.0 with php-pear(%{pear_channel}/Horde_Compress) < 3) +Requires: (php-pear(%{pear_channel}/Horde_Core) >= 2.17.0 with php-pear(%{pear_channel}/Horde_Core) < 3) +Requires: (php-pear(%{pear_channel}/Horde_Css_Parser) >= 1.0.0 with php-pear(%{pear_channel}/Horde_Css_Parser) < 2) +Requires: (php-pear(%{pear_channel}/Horde_Crypt) >= 2.5.0 with php-pear(%{pear_channel}/Horde_Crypt) < 3) +Requires: (php-pear(%{pear_channel}/Horde_Date) >= 2.0.0 with php-pear(%{pear_channel}/Horde_Date) < 3) +Requires: (php-pear(%{pear_channel}/Horde_Editor) >= 2.0.4 with php-pear(%{pear_channel}/Horde_Editor) < 3) +Requires: (php-pear(%{pear_channel}/Horde_Exception) >= 2.0.0 with php-pear(%{pear_channel}/Horde_Exception) < 3) +Requires: (php-pear(%{pear_channel}/Horde_Icalendar) >= 2.0.0 with php-pear(%{pear_channel}/Horde_Icalendar) < 3) +Requires: (php-pear(%{pear_channel}/Horde_Image) >= 2.0.0 with php-pear(%{pear_channel}/Horde_Image) < 3) +Requires: (php-pear(%{pear_channel}/Horde_Imap_Client) >= 2.23.0 with php-pear(%{pear_channel}/Horde_Imap_Client) < 3) +Requires: (php-pear(%{pear_channel}/Horde_Itip) >= 2.0.0 with php-pear(%{pear_channel}/Horde_Itip) < 3) +Requires: (php-pear(%{pear_channel}/Horde_ListHeaders) >= 1.1.0 with php-pear(%{pear_channel}/Horde_ListHeaders) < 2) +Requires: (php-pear(%{pear_channel}/Horde_LoginTasks) >= 2.0.0 with php-pear(%{pear_channel}/Horde_LoginTasks) < 3) +Requires: (php-pear(%{pear_channel}/Horde_Mail) >= 2.2.0 with php-pear(%{pear_channel}/Horde_Mail) < 3) +Requires: (php-pear(%{pear_channel}/Horde_Mail_Autoconfig) >= 1.0.0 with php-pear(%{pear_channel}/Horde_Mail_Autoconfig) < 2) +Requires: (php-pear(%{pear_channel}/Horde_Mime) >= 2.3.0 with php-pear(%{pear_channel}/Horde_Mime) < 3) +Requires: (php-pear(%{pear_channel}/Horde_Mime_Viewer) >= 2.0.0 with php-pear(%{pear_channel}/Horde_Mime_Viewer) < 3) +Requires: (php-pear(%{pear_channel}/Horde_Nls) >= 2.0.0 with php-pear(%{pear_channel}/Horde_Nls) < 3) +Requires: (php-pear(%{pear_channel}/Horde_Notification) >= 2.0.0 with php-pear(%{pear_channel}/Horde_Notification) < 3) +Requires: (php-pear(%{pear_channel}/Horde_Pack) >= 1.0.0 with php-pear(%{pear_channel}/Horde_Pack) < 2) +Requires: (php-pear(%{pear_channel}/Horde_Perms) >= 2.0.0 with php-pear(%{pear_channel}/Horde_Perms) < 3) +Requires: (php-pear(%{pear_channel}/Horde_SpellChecker) >= 2.0.0 with php-pear(%{pear_channel}/Horde_SpellChecker) < 3) +Requires: (php-pear(%{pear_channel}/Horde_Stream) >= 1.4.0 with php-pear(%{pear_channel}/Horde_Stream) < 2) +Requires: (php-pear(%{pear_channel}/Horde_Stream_Filter) >= 2.0.0 with php-pear(%{pear_channel}/Horde_Stream_Filter) < 3) +Requires: (php-pear(%{pear_channel}/Horde_Stream_Wrapper) >= 2.1.0 with php-pear(%{pear_channel}/Horde_Stream_Wrapper) < 3) +Requires: (php-pear(%{pear_channel}/Horde_Support) >= 2.0.5 with php-pear(%{pear_channel}/Horde_Support) < 3) +Requires: (php-pear(%{pear_channel}/Horde_Text_Filter) >= 2.1.0 with php-pear(%{pear_channel}/Horde_Text_Filter) < 3) +Requires: (php-pear(%{pear_channel}/Horde_Text_Flowed) >= 2.0.0 with php-pear(%{pear_channel}/Horde_Text_Flowed) < 3) +Requires: (php-pear(%{pear_channel}/Horde_Tree) >= 2.0.0 with php-pear(%{pear_channel}/Horde_Tree) < 3) +Requires: (php-pear(%{pear_channel}/Horde_Url) >= 2.2.0 with php-pear(%{pear_channel}/Horde_Url) < 3) +Requires: (php-pear(%{pear_channel}/Horde_Util) >= 2.4.0 with php-pear(%{pear_channel}/Horde_Util) < 3) +Requires: (php-pear(%{pear_channel}/Horde_Vfs) >= 2.0.0 with php-pear(%{pear_channel}/Horde_Vfs) < 3) +Requires: (php-pear(%{pear_channel}/Horde_View) >= 2.0.0 with php-pear(%{pear_channel}/Horde_View) < 3) +# From package.xml, optional +Recommends: (php-pear(%{pear_channel}/Horde_Service_Gravatar) >= 1.0.0 with php-pear(%{pear_channel}/Horde_Service_Gravatar) < 2) +Recommends: php-pear(phpseclib.sourceforge.net/File_ASN1) +%else Requires: php-pear(%{pear_channel}/horde) >= 5.0.0 Requires: php-pear(%{pear_channel}/horde) < 6.0.0 Requires: php-pear(%{pear_channel}/Horde_Auth) >= 2.0.0 @@ -124,6 +172,7 @@ Requires: php-pear(%{pear_channel}/Horde_View) < 3.0.0 Requires: php-pear(%{pear_channel}/Horde_Service_Gravatar) >= 1.0.0 Requires: php-pear(%{pear_channel}/Horde_Service_Gravatar) < 2.0.0 Requires: php-pear(phpseclib.sourceforge.net/File_ASN1) +%endif # Optional and implicitly required: # Horde_History, Horde_Http # From phpcompatinfo report for version 6.1.7 @@ -253,6 +302,10 @@ fi %changelog +* Mon Jan 7 2019 Remi Collet - 6.2.23-1 +- update to 6.2.23 +- use range dependencies + * Thu Jul 5 2018 Remi Collet - 6.2.22-1 - update to 6.2.22 -- cgit