From deec606a226971810e069eb9c5c197c0c7eabd2a Mon Sep 17 00:00:00 2001 From: Eric Lippmann Date: Tue, 30 Dec 2014 14:48:02 +0100 Subject: [PATCH] rpm: Do not copy var/ to build root This directory does no longer exist. --- icingaweb2.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/icingaweb2.spec b/icingaweb2.spec index f469d3c92..1b5e17797 100644 --- a/icingaweb2.spec +++ b/icingaweb2.spec @@ -153,7 +153,7 @@ Icinga Web 2 vendor library Zend %install rm -rf %{buildroot} mkdir -p %{buildroot}/{%{basedir}/{modules,library,public},%{bindir},%{configdir},%{logdir},%{phpdir},%{wwwconfigdir},{_sysconfdir}/bash_completion.d} -cp -prv application doc var %{buildroot}/%{basedir} +cp -prv application doc %{buildroot}/%{basedir} cp -pv etc/bash_completion.d/icingacli %{buildroot}/{_sysconfdir}/bash_completion.d cp -prv modules/{monitoring,setup} %{buildroot}/%{basedir}/modules cp -prv library/Icinga %{buildroot}/%{phpdir}