Skip to content

Commit

Permalink
added rrdtool path to configure
Browse files Browse the repository at this point in the history
  • Loading branch information
Eric Schoeller committed Oct 19, 2024
1 parent 756db18 commit 2e5dac7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pnp4nagios.spec
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ SElinux security policy for %{name}.
%prep
echo "Source0: %{name}-%{version}.tar.gz"
echo "Build directory: %{_builddir}"
%setup -q -n pnp4nagios-0.6.27
%setup -q -n %{name}-%{version}
#autoreconf
cp contrib/fedora/pnp4nagios-README.fedora README.fedora
sed -i -e 's/^INSTALL_OPTS="-o $nagios_user -g $nagios_grp"/INSTALL_OPTS=""/' \
Expand Down Expand Up @@ -104,6 +104,7 @@ autoconf
--with-nagios_user=naemon \
--with-nagios_group=naemon \
--with-nagios_unit=naemon \
--with-rrdtool=/usr/bin/rrdtool \
--with-cache_dir=%{_localstatedir}/cache/pnp4nagios \
--with-perfdata-dir=%{_localstatedir}/lib/%{name} \
--with-perfdata-spool-dir=%{_localstatedir}/spool/%{name} \
Expand Down

0 comments on commit 2e5dac7

Please sign in to comment.