diff --git a/monitoring-plugins.spec b/monitoring-plugins.spec index c249395..0c7b161 100644 --- a/monitoring-plugins.spec +++ b/monitoring-plugins.spec @@ -1093,7 +1093,11 @@ chmod +x configure # needed as configure script is not executable in 1.5.. --with-ps-format='%s %d %d %d %d %d %f %s %s %n' \ --with-ps-cols=10 \ --with-ps-varlist='procstat,&procuid,&procpid,&procppid,&procvsz,&procrss,&procpcpu,procetime,procprog,&pos' \ +%if 0%{suse_version} > 1300 --with-rpcinfo-command=/sbin/rpcinfo \ +%else + --with-rpcinfo-command=%{_sbindir}/rpcinfo \ +%endif --with-qstat-command=%{qstat_command} \ --with-mysql=%{_prefix} \ --disable-rpath