summaryrefslogtreecommitdiffstats
path: root/php-horde-Horde-Core.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-horde-Horde-Core.spec')
-rw-r--r--php-horde-Horde-Core.spec72
1 files changed, 68 insertions, 4 deletions
diff --git a/php-horde-Horde-Core.spec b/php-horde-Horde-Core.spec
index 8785299..603f75f 100644
--- a/php-horde-Horde-Core.spec
+++ b/php-horde-Horde-Core.spec
@@ -13,8 +13,8 @@
%global with_sysjs 0
Name: php-horde-Horde-Core
-Version: 2.31.6
-Release: 2%{?dist}
+Version: 2.31.7
+Release: 1%{?dist}
Summary: Horde Core Framework libraries
License: LGPLv2
@@ -28,10 +28,17 @@ 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 (minimal)
+%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8
+BuildRequires: (php-pear(%{pear_channel}/Horde_Test) >= 2.6.0 with php-pear(%{pear_channel}/Horde_Test) < 3)
+BuildRequires: (php-pear(%{pear_channel}/Horde_Url) >= 2.1.0 with php-pear(%{pear_channel}/Horde_Url) < 3)
+BuildRequires: (php-pear(%{pear_channel}/Horde_Injector) >= 2.0.0 with php-pear(%{pear_channel}/Horde_Injector) < 3)
+BuildRequires: (php-pear(%{pear_channel}/Horde_Group) >= 2.1.0 with php-pear(%{pear_channel}/Horde_Group) < 3)
+%else
BuildRequires: php-pear(%{pear_channel}/Horde_Test) >= 2.6.0
BuildRequires: php-pear(%{pear_channel}/Horde_Url) >= 2.1.0
BuildRequires: php-pear(%{pear_channel}/Horde_Injector) >= 2.0.0
BuildRequires: php-pear(%{pear_channel}/Horde_Group) >= 2.1.0
+%endif
%if 0%{?fedora} >= 24 || 0%{?rhel} >= 8
BuildRequires: glibc-langpack-en
%endif
@@ -61,6 +68,61 @@ Requires: php-spl
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_Alarm) >= 2.2.0 with php-pear(%{pear_channel}/Horde_Alarm) < 3)
+Requires: (php-pear(%{pear_channel}/Horde_Auth) >= 2.0.0 with php-pear(%{pear_channel}/Horde_Auth) < 3)
+Requires: (php-pear(%{pear_channel}/Horde_Autoloader) >= 2.1.0 with php-pear(%{pear_channel}/Horde_Autoloader) < 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.5.0 with php-pear(%{pear_channel}/Horde_Cache) < 3)
+Requires: (php-pear(%{pear_channel}/Horde_Cli) >= 2.0.0 with php-pear(%{pear_channel}/Horde_Cli) < 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_Compress_Fast) >= 1.0.0 with php-pear(%{pear_channel}/Horde_Compress_Fast) < 2)
+Requires: (php-pear(%{pear_channel}/Horde_Controller) >= 2.0.0 with php-pear(%{pear_channel}/Horde_Controller) < 3)
+Requires: (php-pear(%{pear_channel}/Horde_CssMinify) >= 1.0.0 with php-pear(%{pear_channel}/Horde_CssMinify) < 2)
+Requires: (php-pear(%{pear_channel}/Horde_Data) >= 2.0.0 with php-pear(%{pear_channel}/Horde_Data) < 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_Exception) >= 2.0.0 with php-pear(%{pear_channel}/Horde_Exception) < 3)
+Requires: (php-pear(%{pear_channel}/Horde_Group) >= 2.1.0 with php-pear(%{pear_channel}/Horde_Group) < 3)
+Requires: (php-pear(%{pear_channel}/Horde_HashTable) >= 1.2.0 with php-pear(%{pear_channel}/Horde_HashTable) < 2)
+Requires: (php-pear(%{pear_channel}/Horde_History) >= 2.0.0 with php-pear(%{pear_channel}/Horde_History) < 3)
+Requires: (php-pear(%{pear_channel}/Horde_Injector) >= 2.0.0 with php-pear(%{pear_channel}/Horde_Injector) < 3)
+Requires: (php-pear(%{pear_channel}/Horde_JavascriptMinify) >= 1.0.0 with php-pear(%{pear_channel}/Horde_JavascriptMinify) < 2)
+Requires: (php-pear(%{pear_channel}/Horde_Lock) >= 2.0.0 with php-pear(%{pear_channel}/Horde_Lock) < 3)
+Requires: (php-pear(%{pear_channel}/Horde_Log) >= 2.0.0 with php-pear(%{pear_channel}/Horde_Log) < 3)
+Requires: (php-pear(%{pear_channel}/Horde_LoginTasks) >= 2.0.0 with php-pear(%{pear_channel}/Horde_LoginTasks) < 3)
+Requires: (php-pear(%{pear_channel}/Horde_Mime) >= 2.5.0 with php-pear(%{pear_channel}/Horde_Mime) < 3)
+Requires: (php-pear(%{pear_channel}/Horde_Mime_Viewer) >= 2.2.0 with php-pear(%{pear_channel}/Horde_Mime_Viewer) < 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_Prefs) >= 2.9.0 with php-pear(%{pear_channel}/Horde_Prefs) < 3)
+Requires: (php-pear(%{pear_channel}/Horde_Secret) >= 2.0.0 with php-pear(%{pear_channel}/Horde_Secret) < 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_SessionHandler) >= 2.0.0 with php-pear(%{pear_channel}/Horde_SessionHandler) < 3)
+Requires: (php-pear(%{pear_channel}/Horde_Share) >= 2.0.0 with php-pear(%{pear_channel}/Horde_Share) < 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_Template) >= 2.0.0 with php-pear(%{pear_channel}/Horde_Template) < 3)
+Requires: (php-pear(%{pear_channel}/Horde_Token) >= 2.0.0 with php-pear(%{pear_channel}/Horde_Token) < 3)
+Requires: (php-pear(%{pear_channel}/Horde_Text_Filter) >= 2.0.0 with php-pear(%{pear_channel}/Horde_Text_Filter) < 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_Url) >= 2.1.0 with php-pear(%{pear_channel}/Horde_Url) < 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_View) >= 2.0.0 with php-pear(%{pear_channel}/Horde_View) < 3)
+# Optional
+Recommends: php-pear(Net_DNS2) >= 1.3.0
+Recommends: php-pear(Text_CAPTCHA)
+Recommends: php-pear(Text_Figlet)
+Recommends: (php-pear(%{pear_channel}/Horde_Crypt) >= 2.0.0 with php-pear(%{pear_channel}/Horde_Crypt) < 3)
+Recommends: (php-pear(%{pear_channel}/Horde_Editor) >= 2.0.0 with php-pear(%{pear_channel}/Horde_Editor) < 3)
+Recommends: (php-pear(%{pear_channel}/Horde_ElasticSearch) >= 1.0.0 with php-pear(%{pear_channel}/Horde_ElasticSearch) < 2)
+Recommends: (php-pear(%{pear_channel}/Horde_Kolab_Server) >= 2.0.0 with php-pear(%{pear_channel}/Horde_Kolab_Server) < 3)
+Recommends: (php-pear(%{pear_channel}/Horde_Kolab_Session) >= 2.0.0 with php-pear(%{pear_channel}/Horde_Kolab_Session) < 3)
+Recommends: (php-pear(%{pear_channel}/Horde_Oauth) >= 2.0.0 with php-pear(%{pear_channel}/Horde_Oauth) < 3)
+Recommends: (php-pear(%{pear_channel}/Horde_Queue) >= 1.0.0 with php-pear(%{pear_channel}/Horde_Queue) < 2)
+Recommends: (php-pear(%{pear_channel}/Horde_SpellChecker) >= 2.0.0 with php-pear(%{pear_channel}/Horde_SpellChecker) < 3)
+Recommends: (php-pear(%{pear_channel}/Horde_Vfs) >= 2.2.0 with php-pear(%{pear_channel}/Horde_Vfs) < 3)
+Suggests: php-pear(%{pear_channel}/Horde_Backup)
+%else
Requires: php-pear(%{pear_channel}/Horde_Alarm) >= 2.2.0
Requires: php-pear(%{pear_channel}/Horde_Alarm) < 3.0.0
Requires: php-pear(%{pear_channel}/Horde_Auth) >= 2.0.0
@@ -161,8 +223,6 @@ Requires: php-pear(%{pear_channel}/Horde_SpellChecker) >= 2.0.0
Requires: php-pear(%{pear_channel}/Horde_SpellChecker) < 3.0.0
Requires: php-pear(%{pear_channel}/Horde_Vfs) >= 2.2.0
Requires: php-pear(%{pear_channel}/Horde_Vfs) < 3.0.0
-%if 0%{?fedora} >= 21 || 0%{?rhel} >= 8
-Suggests: php-pear(%{pear_channel}/Horde_Backup)
%endif
# Optional and omited to avoid circular dep:
@@ -284,6 +344,10 @@ fi
%changelog
+* Sun Jan 13 2019 Remi Collet <remi@remirepo.net> - 2.31.7-1
+- update to 2.31.7
+- use range dependencies
+
* Fri Jan 4 2019 Remi Collet <remi@fedoraproject.org> - 2.31.6-2
- cleanup for EL-8