summaryrefslogtreecommitdiffstats
path: root/php-horde-Horde-Rpc.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-horde-Horde-Rpc.spec')
-rw-r--r--php-horde-Horde-Rpc.spec25
1 files changed, 22 insertions, 3 deletions
diff --git a/php-horde-Horde-Rpc.spec b/php-horde-Horde-Rpc.spec
index a133342..074efab 100644
--- a/php-horde-Horde-Rpc.spec
+++ b/php-horde-Horde-Rpc.spec
@@ -1,6 +1,6 @@
# remirepo/fedora spec file for php-horde-Horde-Rpc
#
-# Copyright (c) 2012-2017 Remi Collet
+# Copyright (c) 2012-2019 Remi Collet
# License: CC-BY-SA
# http://creativecommons.org/licenses/by-sa/4.0/
#
@@ -14,11 +14,10 @@
# so, don't run it during rpmbuild
Name: php-horde-Horde-Rpc
-Version: 2.1.8
+Version: 2.1.9
Release: 1%{?dist}
Summary: Horde RPC API
-Group: Development/Libraries
License: LGPLv2
URL: http://pear.horde.org
Source0: http://%{pear_channel}/get/%{pear_name}-%{version}.tgz
@@ -40,6 +39,21 @@ Requires: php-session
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_Core) >= 2.5.0 with php-pear(%{pear_channel}/Horde_Core) < 3)
+Requires: (php-pear(%{pear_channel}/Horde_Dav) >= 1.0.0 with php-pear(%{pear_channel}/Horde_Dav) < 2)
+Requires: (php-pear(%{pear_channel}/Horde_Exception) >= 2.0.0 with php-pear(%{pear_channel}/Horde_Exception) < 3)
+Requires: (php-pear(%{pear_channel}/Horde_Perms) >= 2.0.0 with php-pear(%{pear_channel}/Horde_Perms) < 3)
+Requires: (php-pear(%{pear_channel}/Horde_Serialize) >= 2.0.0 with php-pear(%{pear_channel}/Horde_Serialize) < 3)
+Requires: (php-pear(%{pear_channel}/Horde_Support) >= 2.0.0 with php-pear(%{pear_channel}/Horde_Support) < 3)
+Requires: (php-pear(%{pear_channel}/Horde_Translation) >= 2.2.0 with php-pear(%{pear_channel}/Horde_Translation) < 3)
+Requires: (php-pear(%{pear_channel}/Horde_Util) >= 2.0.0 with php-pear(%{pear_channel}/Horde_Util) < 3)
+Requires: (php-pear(%{pear_channel}/Horde_Xml_Element) >= 2.0.0 with php-pear(%{pear_channel}/Horde_Xml_Element) < 3)
+# Optional
+Recommends: php-soap
+Recommends: php-xmlrpc
+Recommends: (php-pear(%{pear_channel}/Horde_SyncMl) >= 2.0.0 with php-pear(%{pear_channel}/Horde_SyncMl) < 3)
+%else
Requires: php-pear(%{pear_channel}/Horde_Core) >= 2.5.0
Requires: php-pear(%{pear_channel}/Horde_Core) < 3.0.0
Requires: php-pear(%{pear_channel}/Horde_Dav) >= 1.0.0
@@ -63,6 +77,7 @@ Requires: php-soap
Requires: php-xmlrpc
Requires: php-pear(%{pear_channel}/Horde_SyncMl) >= 2.0.0
Requires: php-pear(%{pear_channel}/Horde_SyncMl) < 3.0.0
+%endif
# Optional and implicitly requires: Horde_Http, Horde_Lock
Provides: php-pear(%{pear_channel}/%{pear_name}) = %{version}
@@ -138,6 +153,10 @@ fi
%changelog
+* Fri Dec 6 2019 Remi Collet <remi@remirepo.net> - 2.1.9-1
+- update to 2.1.9
+- use range dependencies
+
* Mon Oct 9 2017 Remi Collet <remi@remirepo.net> - 2.1.8-1
- Update to 2.1.8