Commit b6513067 authored by Manfred Kutas's avatar Manfred Kutas

ZP-1283 Change dependency to php56-php-pecl-memcached for

z-push-ipc-memcached.

Released under the Affero GNU General Public License (AGPL) version 3.
parent 4a4b396f
...@@ -192,7 +192,7 @@ Group: Productivity/Networking/Email/Utilities ...@@ -192,7 +192,7 @@ Group: Productivity/Networking/Email/Utilities
Requires: %name-common = %version Requires: %name-common = %version
Requires: memcached Requires: memcached
%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-memcached Requires: php56-php-pecl-memcached
%else %else
%if 0%{?suse_version} %if 0%{?suse_version}
Requires: php5-memcached Requires: php5-memcached
...@@ -427,6 +427,11 @@ exit 0 ...@@ -427,6 +427,11 @@ exit 0
%post -n %name-config-nginx %post -n %name-config-nginx
echo -e "\033[0;33mEdit %_sysconfdir/nginx/sites-available/z-push.conf, enable it and reload nginx.\n\033[0m" echo -e "\033[0;33mEdit %_sysconfdir/nginx/sites-available/z-push.conf, enable it and reload nginx.\n\033[0m"
%post -n %name-ipc-memcached
%if "%_repository" == "RHEL_6_PHP_56" || "%_repository" == "RHEL_7_PHP_56"
echo -e "\033[0;33mMake sure you have remi repositories enabled.\n\033[0m"
%endif
%postun -n %name-config-apache %postun -n %name-config-apache
%if 0%{?suse_version} %if 0%{?suse_version}
service apache2 reload || true service apache2 reload || true
......
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