install plugins under %{_prefix}/lib instead of %{_libdir} [release 2.1.1-2mamba;Sun Dec 27 2015]
This commit is contained in:
parent
4bf74596ab
commit
336524c2a6
@ -1,6 +1,6 @@
|
|||||||
Name: nagios-plugins
|
Name: nagios-plugins
|
||||||
Version: 2.1.1
|
Version: 2.1.1
|
||||||
Release: 1mamba
|
Release: 2mamba
|
||||||
Summary: Host/service/network monitoring program plugins for Nagios
|
Summary: Host/service/network monitoring program plugins for Nagios
|
||||||
Group: Network/Monitoring
|
Group: Network/Monitoring
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
@ -43,8 +43,8 @@ This package contains the basic plugins necessary for use with the Nagios packag
|
|||||||
export PATH="/usr/sbin:$PATH"
|
export PATH="/usr/sbin:$PATH"
|
||||||
%configure \
|
%configure \
|
||||||
PATH_TO_FPING=%{_sbindir}/fping \
|
PATH_TO_FPING=%{_sbindir}/fping \
|
||||||
--libdir=%{_libdir}/nagios/plugins \
|
--libdir=%{_prefix}/lib/nagios/plugins \
|
||||||
--libexecdir=%{_libdir}/nagios/plugins \
|
--libexecdir=%{_prefix}/lib/nagios/plugins \
|
||||||
--with-trusted-path="/bin:/sbin:/usr/bin:/usr/sbin" \
|
--with-trusted-path="/bin:/sbin:/usr/bin:/usr/sbin" \
|
||||||
--with-cgiurl=/nagios/cgi-bin \
|
--with-cgiurl=/nagios/cgi-bin \
|
||||||
--disable-rpath \
|
--disable-rpath \
|
||||||
@ -63,9 +63,9 @@ export PATH="/usr/sbin:$PATH"
|
|||||||
%makeinstall
|
%makeinstall
|
||||||
|
|
||||||
# remove unpackaged plugins
|
# remove unpackaged plugins
|
||||||
rm -f %{buildroot}/%{_libdir}/nagios/plugins/check_uptime
|
rm -f %{buildroot}/%{_prefix}/lib/nagios/plugins/check_uptime
|
||||||
|
|
||||||
chmod 644 %{buildroot}/%{_libdir}/nagios/plugins/utils.pm
|
chmod 644 %{buildroot}/%{_prefix}/lib/nagios/plugins/utils.pm
|
||||||
%find_lang %{name}
|
%find_lang %{name}
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
@ -73,16 +73,19 @@ chmod 644 %{buildroot}/%{_libdir}/nagios/plugins/utils.pm
|
|||||||
|
|
||||||
%files -f %{name}.lang
|
%files -f %{name}.lang
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%dir %{_libdir}/nagios/plugins
|
%dir %{_prefix}/lib/nagios/plugins
|
||||||
%attr(755,root,root) %{_libdir}/nagios/plugins/check_*
|
%attr(755,root,root) %{_prefix}/lib/nagios/plugins/check_*
|
||||||
%{_libdir}/nagios/plugins/negate
|
%{_prefix}/lib/nagios/plugins/negate
|
||||||
%{_libdir}/nagios/plugins/urlize
|
%{_prefix}/lib/nagios/plugins/urlize
|
||||||
%{_libdir}/nagios/plugins/utils.pm
|
%{_prefix}/lib/nagios/plugins/utils.pm
|
||||||
%{_libdir}/nagios/plugins/utils.sh
|
%{_prefix}/lib/nagios/plugins/utils.sh
|
||||||
%doc COPYING LEGAL
|
%doc COPYING LEGAL
|
||||||
#CODING FAQ README REQUIREMENTS SUPPORT ChangeLog command.cfg
|
#CODING FAQ README REQUIREMENTS SUPPORT ChangeLog command.cfg
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sun Dec 27 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 2.1.1-2mamba
|
||||||
|
- install plugins under %{_prefix}/lib instead of %{_libdir}
|
||||||
|
|
||||||
* Fri Aug 14 2015 Automatic Build System <autodist@mambasoft.it> 2.1.1-1mamba
|
* Fri Aug 14 2015 Automatic Build System <autodist@mambasoft.it> 2.1.1-1mamba
|
||||||
- automatic update by autodist
|
- automatic update by autodist
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user