Commit 6acb4a87 authored by Sebastian Kummer's avatar Sebastian Kummer

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

Merge pull request #331 in ZP/z-push from bugfix/ZP-985-packages-for-red-hat-software-collections to develop

* commit '25585453':
  ZP-985 Packages for Red Hat Software collections make actually no use of them. Released under the Affero GNU General Public License (AGPL) version 3.
parents b609f931 25585453
...@@ -13,7 +13,11 @@ BuildRoot: %_tmppath/%name-%version-build ...@@ -13,7 +13,11 @@ BuildRoot: %_tmppath/%name-%version-build
%if 0%{?suse_version} %if 0%{?suse_version}
%define apache_dir %_sysconfdir/apache2 %define apache_dir %_sysconfdir/apache2
%else %else
%define apache_dir %_sysconfdir/httpd %if "%_repository" == "RHEL_6_PHP_56" || "%_repository" == "RHEL_7_PHP_56"
%define apache_dir /opt/rh/httpd24/root/etc/httpd/
%else
%define apache_dir %_sysconfdir/httpd
%endif
%endif %endif
%description %description
...@@ -96,7 +100,11 @@ Backend for Z-Push, that adds the ability to connect to a ldap server ...@@ -96,7 +100,11 @@ Backend for Z-Push, that adds the ability to connect to a ldap server
Summary: Z-Push Kopano backend Summary: Z-Push Kopano backend
Group: Productivity/Networking/Email/Utilities Group: Productivity/Networking/Email/Utilities
Requires: %name-common = %version Requires: %name-common = %version
%if 0%{?fedora_version} || 0%{?centos_version} || 0%{?rhel_version}
Requires: php-mapi-webapp
%else
Requires: php-mapi Requires: php-mapi
%endif
Provides: %name-backend Provides: %name-backend
%description -n %name-backend-kopano %description -n %name-backend-kopano
...@@ -459,7 +467,7 @@ install -Dpm 644 config/apache2/z-push-autodiscover.conf \ ...@@ -459,7 +467,7 @@ install -Dpm 644 config/apache2/z-push-autodiscover.conf \
%dir %zpush_dir/backend/ipcsharedmemory/ %dir %zpush_dir/backend/ipcsharedmemory/
%zpush_dir/backend/ipcsharedmemory %zpush_dir/backend/ipcsharedmemory
# IPCMEMCACHED # IPC-MEMCACHED
%files -n %name-ipc-memcached %files -n %name-ipc-memcached
%defattr(-, root, root) %defattr(-, root, root)
%dir %zpush_dir/backend %dir %zpush_dir/backend
......
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