Install includes in the correct dir

tags/zabbix-3.4.11-2.beta2
Daniel Berteaud 6 years ago
parent 0854f43b2d
commit 38e6a74fdd
  1. 4
      zabbix.spec

@ -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

Loading…
Cancel
Save