summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php-horde-Horde-Image.spec21
1 files 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 <remi@remirepo.net> - 2.5.4-1
+- update to 2.5.4
+- use range dependencies
+
* Mon Jun 25 2018 Remi Collet <remi@remirepo.net> - 2.5.3-1
- update to 2.5.3