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