rpm: Do not copy var/ to build root

This directory does no longer exist.
This commit is contained in:
Eric Lippmann 2014-12-30 14:48:02 +01:00
parent bee3fe7027
commit deec606a22
1 changed files with 1 additions and 1 deletions

View File

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