ZP-1016 Further improve RHEL*SCL packaging. Released under the Affero GNU...

ZP-1016 Further improve RHEL*SCL packaging. Released under the Affero GNU General Public License (AGPL) version 3.

I tried to make it more readable, but the compiler does not like it
parent 8687ea88
...@@ -28,19 +28,19 @@ Summary: Z-Push core package ...@@ -28,19 +28,19 @@ Summary: Z-Push core package
Group: Productivity/Networking/Email/Utilities Group: Productivity/Networking/Email/Utilities
%if 0%{?suse_version} %if 0%{?suse_version}
Requires: php-posix Requires: php-posix
%else %else
Requires: php-process Requires: php-process
%endif %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
Requires: rh-php56-php-mbstring Requires: rh-php56-php-mbstring
Requires: rh-php56-php-process Requires: rh-php56-php-process
%else %else
Requires: php >= 5.4.0 Requires: php >= 5.4.0
Requires: php-soap Requires: php-soap
Requires: php-mbstring Requires: php-mbstring
%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.
...@@ -140,11 +140,11 @@ Summary: Z-Push ipc shared memory provider ...@@ -140,11 +140,11 @@ Summary: Z-Push ipc shared memory provider
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" %if "%_repository" == "RHEL_6_PHP_56" || "%_repository" == "RHEL_7_PHP_56"
Requires: rh-php56-php-process Requires: rh-php56-php-process
%else %else
Requires: php-sysvshm Requires: php-sysvshm
Requires: php-sysvsem Requires: php-sysvsem
Requires: php-pcntl Requires: php-pcntl
%endif %endif
%description -n %name-ipc-sharedmemory %description -n %name-ipc-sharedmemory
...@@ -207,11 +207,11 @@ Requires: %name-common = %version ...@@ -207,11 +207,11 @@ Requires: %name-common = %version
Requires: apache2 Requires: apache2
Requires: mod_php_any Requires: mod_php_any
%else %else
%if "%_repository" == "RHEL_6_PHP_56" || "%_repository" == "RHEL_7_PHP_56" %if "%_repository" == "RHEL_6_PHP_56" || "%_repository" == "RHEL_7_PHP_56"
Requires: httpd24-httpd Requires: httpd24-httpd
%else %else
Requires: httpd Requires: httpd
%endif %endif
%endif %endif
%description -n %name-config-apache %description -n %name-config-apache
...@@ -225,11 +225,11 @@ Requires: %name-autodiscover = %version ...@@ -225,11 +225,11 @@ Requires: %name-autodiscover = %version
Requires: apache2 Requires: apache2
Requires: mod_php_any Requires: mod_php_any
%else %else
%if "%_repository" == "RHEL_6_PHP_56" || "%_repository" == "RHEL_7_PHP_56" %if "%_repository" == "RHEL_6_PHP_56" || "%_repository" == "RHEL_7_PHP_56"
Requires: httpd24-httpd Requires: httpd24-httpd
%else %else
Requires: httpd Requires: httpd
%endif %endif
%endif %endif
%description -n %name-config-apache-autodiscover %description -n %name-config-apache-autodiscover
......
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