From bcecdfe9875a3cd934dac60842ac1f32bcb58118aac053e0f5b0a4822f0ba5d0 Mon Sep 17 00:00:00 2001 From: Lars Vogdt Date: Wed, 21 Mar 2018 12:36:18 +0000 Subject: [PATCH] add defattr for old distribution OBS-URL: https://build.opensuse.org/package/show/server:monitoring/check_postgres?expand=0&rev=16 --- check_postgres.spec | 2 ++ 1 file changed, 2 insertions(+) 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}