From 6e7acb312498a74ca59c3302a783113476ad8a67 Mon Sep 17 00:00:00 2001 From: KIKUCHI Koichiro Date: Thu, 3 Mar 2016 18:40:29 +0900 Subject: [PATCH] Fixed %files entries. - Remove %docdir line. docs directory doesn't exist. - Change several files' owner to root. There are no need for these file to be owned by pandora. --- pandora_agents/unix/pandora_agent.redhat.spec | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/pandora_agents/unix/pandora_agent.redhat.spec b/pandora_agents/unix/pandora_agent.redhat.spec index acf14501ae..49fa0f4f15 100644 --- a/pandora_agents/unix/pandora_agent.redhat.spec +++ b/pandora_agents/unix/pandora_agent.redhat.spec @@ -124,14 +124,15 @@ exit 0 %defattr(750,pandora,root) /usr/bin/pandora_agent /usr/bin/pandora_agent_exec -%config(noreplace) %{_sysconfdir}/logrotate.d/pandora_agent %defattr(755,pandora,root) -/usr/bin/tentacle_client -/etc/rc.d/init.d/pandora_agent_daemon -%docdir %{prefix}/pandora_agents/docs %{prefix}/pandora_agent -%defattr(644,pandora,root) +%defattr(755,root,root) +/usr/bin/tentacle_client +/etc/rc.d/init.d/pandora_agent_daemon + +%defattr(644,root,root) /usr/share/man/man1/pandora_agent.1.gz /usr/share/man/man1/tentacle_client.1.gz +%config(noreplace) %{_sysconfdir}/logrotate.d/pandora_agent