Commit 8f2565d4 authored by Sebastian Kummer's avatar Sebastian Kummer

Merge pull request #462 in ZP/z-push from...

Merge pull request #462 in ZP/z-push from bugfix/ZP-1129-z-push-does-not-install-on-rhel_7_php_56 to develop

* commit '04306211':
  ZP-1129 Fix dependencies for RHEL_7_PHP_56 and RHEL_6_PHP_56.
  ZP-1129 Fix dependencies for RHEL_7_PHP_56 and RHEL_6_PHP_56.
  ZP-1129 Fix dependencies for RHEL_7_PHP_56 and RHEL_6_PHP_56.
parents a8ae35d0 04306211
...@@ -27,11 +27,6 @@ Z-push is an implementation of the ActiveSync protocol which is used 'over-the-a ...@@ -27,11 +27,6 @@ Z-push is an implementation of the ActiveSync protocol which is used 'over-the-a
Summary: Z-Push core package Summary: Z-Push core package
Group: Productivity/Networking/Email/Utilities Group: Productivity/Networking/Email/Utilities
%if 0%{?suse_version}
Requires: php-posix
%else
Requires: php-process
%endif
%if "%_repository" == "RHEL_6_PHP_56" || "%_repository" == "RHEL_7_PHP_56" %if "%_repository" == "RHEL_6_PHP_56" || "%_repository" == "RHEL_7_PHP_56"
Requires: rh-php56 Requires: rh-php56
Requires: rh-php56-php-soap Requires: rh-php56-php-soap
...@@ -41,6 +36,11 @@ Requires: rh-php56-php-process ...@@ -41,6 +36,11 @@ Requires: rh-php56-php-process
Requires: php >= 5.4.0 Requires: php >= 5.4.0
Requires: php-soap Requires: php-soap
Requires: php-mbstring Requires: php-mbstring
%if 0%{?suse_version}
Requires: php-posix
%else
Requires: php-process
%endif
%endif %endif
%description -n %name-common %description -n %name-common
Z-push is an implementation of the ActiveSync protocol which is used 'over-the-air' for multi platform ActiveSync devices. Devices supported are including Windows Mobile, Android, iPhone, and Nokia. With Z-push any groupware can be connected and synced with these devices. Z-push is an implementation of the ActiveSync protocol which is used 'over-the-air' for multi platform ActiveSync devices. Devices supported are including Windows Mobile, Android, iPhone, and Nokia. With Z-push any groupware can be connected and synced with these devices.
...@@ -50,8 +50,15 @@ Z-push is an implementation of the ActiveSync protocol which is used 'over-the-a ...@@ -50,8 +50,15 @@ Z-push is an implementation of the ActiveSync protocol which is used 'over-the-a
Summary: Z-Push caldav backend Summary: Z-Push caldav backend
Group: Productivity/Networking/Email/Utilities Group: Productivity/Networking/Email/Utilities
Requires: %name-common = %version Requires: %name-common = %version
Requires: php-curl
Requires: libawl-php Requires: libawl-php
%if "%_repository" == "RHEL_6_PHP_56" || "%_repository" == "RHEL_7_PHP_56"
Requires: rh-php56-php-common
Requires: rh-php56-php-xml
%else
Requires: php-curl
Requires: php-xml
%endif
Provides: %name-backend Provides: %name-backend
%description -n %name-backend-caldav %description -n %name-backend-caldav
...@@ -84,8 +91,12 @@ Backend for Z-Push, that adds the ability to combine backends. ...@@ -84,8 +91,12 @@ Backend for Z-Push, that adds the ability to combine backends.
Summary: Z-Push imap backend Summary: Z-Push imap backend
Group: Productivity/Networking/Email/Utilities Group: Productivity/Networking/Email/Utilities
Requires: %name-common = %version Requires: %name-common = %version
Requires: php-imap
Requires: libawl-php Requires: libawl-php
%if "%_repository" == "RHEL_6_PHP_56" || "%_repository" == "RHEL_7_PHP_56"
Requires: rh-php56-php-imap
%else
Requires: php-imap
%endif
Provides: %name-backend Provides: %name-backend
%description -n %name-backend-imap %description -n %name-backend-imap
...@@ -96,7 +107,11 @@ Backend for Z-Push, that adds the ability to connect to a imap server ...@@ -96,7 +107,11 @@ Backend for Z-Push, that adds the ability to connect to a imap server
Summary: Z-Push ldap backend Summary: Z-Push ldap backend
Group: Productivity/Networking/Email/Utilities Group: Productivity/Networking/Email/Utilities
Requires: %name-common = %version Requires: %name-common = %version
%if "%_repository" == "RHEL_6_PHP_56" || "%_repository" == "RHEL_7_PHP_56"
Requires: rh-php56-php-ldap
%else
Requires: php-ldap Requires: php-ldap
%endif
Provides: %name-backend Provides: %name-backend
%description -n %name-backend-ldap %description -n %name-backend-ldap
...@@ -165,12 +180,16 @@ Provider for Z-Push, that adds the ability to use ipc shared memory ...@@ -165,12 +180,16 @@ Provider for Z-Push, that adds the ability to use ipc shared memory
Summary: Z-Push ipc memcached provider Summary: Z-Push ipc memcached provider
Group: Productivity/Networking/Email/Utilities Group: Productivity/Networking/Email/Utilities
Requires: %name-common = %version Requires: %name-common = %version
Requires: memcached
%if "%_repository" == "RHEL_6_PHP_56" || "%_repository" == "RHEL_7_PHP_56"
Requires: rh-php56-php-pecl-memcache
%else
%if 0%{?suse_version} %if 0%{?suse_version}
Requires: php5-memcached Requires: php5-memcached
%else %else
Requires: memcached
Requires: php-pecl-memcached Requires: php-pecl-memcached
%endif %endif
%endif
%description -n %name-ipc-memcached %description -n %name-ipc-memcached
Provider for Z-Push, that adds the ability to use ipc memcached Provider for Z-Push, that adds the ability to use ipc memcached
...@@ -180,7 +199,11 @@ Provider for Z-Push, that adds the ability to use ipc memcached ...@@ -180,7 +199,11 @@ Provider for Z-Push, that adds the ability to use ipc memcached
Summary: Z-Push ldap search backend Summary: Z-Push ldap search backend
Group: Productivity/Networking/Email/Utilities Group: Productivity/Networking/Email/Utilities
Requires: %name-common = %version Requires: %name-common = %version
%if "%_repository" == "RHEL_6_PHP_56" || "%_repository" == "RHEL_7_PHP_56"
Requires: rh-php56-php-ldap
%else
Requires: php-ldap Requires: php-ldap
%endif
Provides: %name-backend Provides: %name-backend
%description -n %name-galsearch-ldap %description -n %name-galsearch-ldap
...@@ -191,8 +214,13 @@ Backend for Z-Push, that adds the ability to search a ldap server ...@@ -191,8 +214,13 @@ Backend for Z-Push, that adds the ability to search a ldap server
Summary: Z-Push mysql state backend Summary: Z-Push mysql state backend
Group: Productivity/Networking/Email/Utilities Group: Productivity/Networking/Email/Utilities
Requires: %name-common = %version Requires: %name-common = %version
%if "%_repository" == "RHEL_6_PHP_56" || "%_repository" == "RHEL_7_PHP_56"
Requires: rh-php56-php-mysqlnd
Requires: rh-php56-php-pdo
%else
Requires: php-mysql Requires: php-mysql
Requires: php-pdo Requires: php-pdo
%endif
%description -n %name-state-sql %description -n %name-state-sql
Backend for Z-Push, that adds the ability to save states in a mysql database Backend for Z-Push, that adds the ability to save states in a mysql database
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment