fix requirements in /usr/sbin instead of /usr/bin [release 2.4.7-2mamba;Sun Nov 19 2023]

This commit is contained in:
Silvan Calarco 2024-01-06 07:31:11 +01:00
parent 4226ef46e7
commit e3d0a2a84c

View File

@ -1,6 +1,6 @@
Name: nagios-plugins
Version: 2.4.6
Release: 1mamba
Version: 2.4.7
Release: 2mamba
Summary: Host/service/network monitoring program plugins for Nagios
Group: Network/Monitoring
Vendor: openmamba
@ -20,6 +20,7 @@ BuildRequires: libopenssl-devel
BuildRequires: libperl
BuildRequires: libpostgresql-devel
BuildRequires: libradiusclient-ng-devel
BuildRequires: libxcrypt-devel
BuildRequires: perl-Crypt-X509
BuildRequires: perl-Net-SNMP
BuildRequires: perl-Text-Glob
@ -45,12 +46,11 @@ This package contains the basic plugins necessary for use with the Nagios packag
%setup -q
%build
export PATH="/usr/sbin:$PATH"
%configure \
PATH_TO_FPING=%{_sbindir}/fping \
PATH_TO_FPING=%{_bindir}/fping \
--libdir=%{_libdir}/nagios/plugins \
--libexecdir=%{_libdir}/nagios/plugins \
--with-trusted-path="/bin:/sbin:/usr/bin:/usr/sbin" \
--with-trusted-path="/usr/bin:/bin:/sbin:/usr/sbin" \
--with-cgiurl=/nagios/cgi-bin \
--disable-rpath \
--with-ps-command="`which ps` -eo 's uid pid ppid vsz rss pcpu etime comm args'" \
@ -89,6 +89,12 @@ chmod 644 %{buildroot}/%{_libdir}/nagios/plugins/utils.pm
#CODING FAQ README REQUIREMENTS SUPPORT ChangeLog command.cfg
%changelog
* Sun Nov 19 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 2.4.7-2mamba
- fix requirements in /usr/sbin instead of /usr/bin
* Fri Nov 17 2023 Automatic Build System <autodist@mambasoft.it> 2.4.7-1mamba
- automatic version update by autodist
* Wed Aug 02 2023 Automatic Build System <autodist@mambasoft.it> 2.4.6-1mamba
- automatic version update by autodist
@ -166,5 +172,5 @@ chmod 644 %{buildroot}/%{_libdir}/nagios/plugins/utils.pm
* Fri Jul 09 2004 Davide Madrisan <davide.madrisan@qilinux.it> 1.3.1-2qilnx
- various fixes
* Tue Nov 24 2003 Davide Madrisan <davide.madrisan@qilinux.it> 1.3.1-1qilnx
* Mon Nov 24 2003 Davide Madrisan <davide.madrisan@qilinux.it> 1.3.1-1qilnx
- first build