diff --git a/pandora_agents/ChangeLog b/pandora_agents/ChangeLog index 96755f1345..37d3a10f5c 100644 --- a/pandora_agents/ChangeLog +++ b/pandora_agents/ChangeLog @@ -1,3 +1,8 @@ +2009-12-28 Sancho Lerena + + * pandora_agent.spec: Fixed missing var/spool/pandora/data_out + directory :-/ + 2009-12-18 Sancho Lerena * unix/pandora_agent_installer, diff --git a/pandora_agents/linux/pandora_agent.spec b/pandora_agents/linux/pandora_agent.spec index 357f77bc87..60b8865913 100755 --- a/pandora_agents/linux/pandora_agent.spec +++ b/pandora_agents/linux/pandora_agent.spec @@ -39,13 +39,10 @@ mkdir -p $RPM_BUILD_ROOT/usr/sbin/ mkdir -p $RPM_BUILD_ROOT/etc/pandora/ mkdir -p $RPM_BUILD_ROOT/etc/init.d/ mkdir -p $RPM_BUILD_ROOT/var/log/pandora/ +mkdir -p $RPM_BUILD_ROOT/var/spool/pandora/data_out cp -aRf * $RPM_BUILD_ROOT%{prefix}/pandora_agent/ cp -aRf $RPM_BUILD_ROOT%{prefix}/pandora_agent/tentacle_client $RPM_BUILD_ROOT/usr/bin/ -%if "%{_vendor}" == "redhat" - mv $RPM_BUILD_ROOT%{prefix}/pandora_agent/pandora_agent $RPM_BUILD_ROOT/usr/bin/ -%else - mv $RPM_BUILD_ROOT%{prefix}/pandora_agent/pandora_agent $RPM_BUILD_ROOT/usr/bin/ -%endif +mv $RPM_BUILD_ROOT%{prefix}/pandora_agent/pandora_agent $RPM_BUILD_ROOT/usr/bin/ mv $RPM_BUILD_ROOT%{prefix}/pandora_agent/pandora_agent_daemon $RPM_BUILD_ROOT/etc/init.d/pandora_agent_daemon # Checking old config file (if exists) @@ -66,7 +63,6 @@ rm -Rf $RPM_BUILD_ROOT exit 0 - %post if [ ! -d /etc/pandora ] ; then mkdir -p /etc/pandora