|
|
|
@ -338,6 +338,7 @@ mkdir -p $RPM_BUILD_ROOT%{_tmpfilesdir} |
|
|
|
|
%else |
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/init.d |
|
|
|
|
%endif |
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_includedir}/%{name} |
|
|
|
|
|
|
|
|
|
%if 0%{?rhel} >= 6 |
|
|
|
|
# php frontend |
|
|
|
@ -469,6 +470,9 @@ install -m 644 SELinux/zabbix-server.pp.bz2 $RPM_BUILD_ROOT%{_datadir}/selinux/p |
|
|
|
|
install -m 644 SELinux/zabbix-proxy.pp.bz2 $RPM_BUILD_ROOT%{_datadir}/selinux/packages/zabbix/ |
|
|
|
|
%endif |
|
|
|
|
|
|
|
|
|
# Install include files |
|
|
|
|
cp -pr inclure/* $RPM_BUILD_ROOT%{_includedir}/%{name}/ |
|
|
|
|
|
|
|
|
|
%clean |
|
|
|
|
rm -rf $RPM_BUILD_ROOT |
|
|
|
|
|
|
|
|
|