1
0

add defattr for old distribution

OBS-URL: https://build.opensuse.org/package/show/server:monitoring/check_postgres?expand=0&rev=16
This commit is contained in:
Lars Vogdt 2018-03-21 12:36:18 +00:00 committed by Git OBS Bridge
parent 6bb0a0f82d
commit bcecdfe987

View File

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