Commit 84c366b8 authored by Manfred Kutas's avatar Manfred Kutas

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

Merge pull request #635 in ZP/z-push from bugfix/ZP-1283-build-rh-php56-php-memcached-for-rhel-6-7-with-scl to develop

* commit 'b6513067':
  ZP-1283 Change dependency to php56-php-pecl-memcached for z-push-ipc-memcached.
parents 4a4b396f b6513067
......@@ -192,7 +192,7 @@ Group: Productivity/Networking/Email/Utilities
Requires: %name-common = %version
Requires: memcached
%if "%_repository" == "RHEL_6_PHP_56" || "%_repository" == "RHEL_7_PHP_56"
Requires: rh-php56-php-memcached
Requires: php56-php-pecl-memcached
%else
%if 0%{?suse_version}
Requires: php5-memcached
......@@ -427,6 +427,11 @@ exit 0
%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"
%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
%if 0%{?suse_version}
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