From 38e6a74fdd150b2990ac13d3ac467e0814fb1ebb Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Mon, 9 Jul 2018 19:01:46 +0200 Subject: [PATCH] Install includes in the correct dir --- zabbix.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/zabbix.spec b/zabbix.spec index 0159662..bedc471 100644 --- a/zabbix.spec +++ b/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