diff --git a/check_postgres.spec b/check_postgres.spec index 6916e8a..6658487 100644 --- a/check_postgres.spec +++ b/check_postgres.spec @@ -103,6 +103,7 @@ mkdir -p %{buildroot}/%{_mandir}/man1 perl %{SOURCE2} "%{version}" "1" check_postgres.pl > %{buildroot}/%{_mandir}/man1/check_postgres.pl.1 %files -f %{name}.files +%defattr(-,root,root) %doc MANIFEST README* TODO nagios-commands-postgres.cfg check_postgres.pl.html %if 0%{?suse_version} > 1315 %license LICENSE @@ -112,6 +113,7 @@ perl %{SOURCE2} "%{version}" "1" check_postgres.pl > %{buildroot}/%{_mandir}/man %{_mandir}/man1/check_postgres.pl.1* %files -n monitoring-plugins-postgres +%defattr(-,root,root) # avoid build dependecy of nagios - own the dirs %dir %{nagios_libdir} %dir %{nagios_plugindir}