Don't depends on systemd for proxy-sqlite on el6

tags/zabbix-5.0.3-2
Daniel Berteaud 4 years ago
parent 84ff9ba2ee
commit cc436c9f1a
  1. 7
      zabbix.spec

@ -198,9 +198,16 @@ Zabbix proxy with PostgreSQL database support.
Summary: Zabbix proxy for SQLite3 database Summary: Zabbix proxy for SQLite3 database
Group: Applications/Internet Group: Applications/Internet
Requires: fping Requires: fping
%if 0%{?rhel} >= 7
Requires(post): systemd Requires(post): systemd
Requires(preun): systemd Requires(preun): systemd
Requires(postun): systemd Requires(postun): systemd
%else
Requires(post): /sbin/chkconfig
Requires(preun): /sbin/chkconfig
Requires(preun): /sbin/service
Requires(postun): /sbin/service
%endif
Provides: zabbix-proxy = %{version}-%{release} Provides: zabbix-proxy = %{version}-%{release}
Provides: zabbix-proxy-implementation = %{version}-%{release} Provides: zabbix-proxy-implementation = %{version}-%{release}
Obsoletes: zabbix Obsoletes: zabbix

Loading…
Cancel
Save