From cc91a39b0cbe03715c3aef1d36b8b1d4329a2d10 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 2 Jan 2019 09:24:51 +0100 Subject: update to 2.5.4 use range dependencies --- php-horde-Horde-Image.spec | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/php-horde-Horde-Image.spec b/php-horde-Horde-Image.spec index 94dc60e..c25f671 100644 --- a/php-horde-Horde-Image.spec +++ b/php-horde-Horde-Image.spec @@ -1,6 +1,6 @@ # remirepo/fedora spec file for php-horde-Horde-Image # -# Copyright (c) 2012-2018 Nick Bebout, Remi Collet +# Copyright (c) 2012-2019 Nick Bebout, Remi Collet # # License: MIT # https://fedoraproject.org/wiki/Licensing:MIT#Modern_Style_with_sublicense @@ -13,7 +13,7 @@ %global with_tests %{?_without_tests:0}%{!?_without_tests:1} Name: php-horde-Horde-Image -Version: 2.5.3 +Version: 2.5.4 Release: 1%{?dist} Summary: Horde Image API @@ -28,9 +28,14 @@ BuildRequires: php-pear(PEAR) >= 1.7.0 BuildRequires: php-channel(%{pear_channel}) %if %{with_tests} # To run unit tests +%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8 +BuildRequires: (php-pear(%{pear_channel}/Horde_Stream) >= 1.6.2 with php-pear(%{pear_channel}/Horde_Stream) < 2) +BuildRequires: (php-pear(%{pear_channel}/Horde_Test) >= 2.1.0 with php-pear(%{pear_channel}/Horde_Test) < 3) +%else BuildRequires: php-pear(%{pear_channel}/Horde_Stream) >= 1.6.2 BuildRequires: php-pear(%{pear_channel}/Horde_Test) >= 2.1.0 %endif +%endif Requires(post): %{__pear} Requires(postun): %{__pear} @@ -41,6 +46,13 @@ Requires: php-pcre Requires: php-spl Requires: php-pear(PEAR) >= 1.7.0 Requires: php-channel(%{pear_channel}) +%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8 +Requires: (php-pear(%{pear_channel}/Horde_Exception) >= 2.0.0 with php-pear(%{pear_channel}/Horde_Exception) < 3.0.0) +Requires: (php-pear(%{pear_channel}/Horde_Stream) >= 1.6.2 with php-pear(%{pear_channel}/Horde_Stream) < 2.0.0) +Requires: (php-pear(%{pear_channel}/Horde_Support) >= 2.0.0 with php-pear(%{pear_channel}/Horde_Support) < 3.0.0) +Requires: (php-pear(%{pear_channel}/Horde_Translation) >= 2.2.0 with php-pear(%{pear_channel}/Horde_Translation) < 3.0.0) +Requires: (php-pear(%{pear_channel}/Horde_Util) >= 2.0.0 with php-pear(%{pear_channel}/Horde_Util) < 3.0.0) +%else Requires: php-pear(%{pear_channel}/Horde_Exception) >= 2.0.0 Requires: php-pear(%{pear_channel}/Horde_Exception) < 3.0.0 Requires: php-pear(%{pear_channel}/Horde_Stream) >= 1.6.2 @@ -51,6 +63,7 @@ Requires: php-pear(%{pear_channel}/Horde_Translation) >= 2.2.0 Requires: php-pear(%{pear_channel}/Horde_Translation) < 3.0.0 Requires: php-pear(%{pear_channel}/Horde_Util) >= 2.0.0 Requires: php-pear(%{pear_channel}/Horde_Util) < 3.0.0 +%endif # Optional Requires: php-gd Requires: php-json @@ -154,6 +167,10 @@ fi %changelog +* Wed Jan 2 2019 Remi Collet - 2.5.4-1 +- update to 2.5.4 +- use range dependencies + * Mon Jun 25 2018 Remi Collet - 2.5.3-1 - update to 2.5.3 -- cgit