Problem with sting to integer resolved, needed for pHP 7.1

This commit is contained in:
2017-07-22 01:46:34 +02:00
parent c2fb0fcfb3
commit cb6587e1b3

View File

@@ -1,6 +1,6 @@
Name: pnp4nagios Name: pnp4nagios
Version: 0.6.25 Version: 0.6.25
Release: 4%{?dist} Release: 5%{?dist}
Summary: Nagios performance data analysis tool Summary: Nagios performance data analysis tool
Group: Applications/System Group: Applications/System
@@ -11,6 +11,7 @@ Source1: pnp4nagios.logrotate.conf
Source2: pnp4nagios-npcd.sysvinit Source2: pnp4nagios-npcd.sysvinit
Source3: pnp4nagios-README.fedora Source3: pnp4nagios-README.fedora
Patch1: pnp4nagios-httpd24.patch Patch1: pnp4nagios-httpd24.patch
Patch2: pnp4nagios-pnp-helper.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: autoconf, automake, libtool BuildRequires: autoconf, automake, libtool
@@ -23,6 +24,8 @@ Requires(post): chkconfig
Requires(preun): chkconfig Requires(preun): chkconfig
Requires(preun): initscripts Requires(preun): initscripts
Requires(postun): initscripts Requires(postun): initscripts
# otherwise not installable:
Provides: /bin/perl
%description %description
PNP is an addon to nagios which analyzes performance data provided by plugins PNP is an addon to nagios which analyzes performance data provided by plugins
@@ -32,6 +35,7 @@ and stores them automatically into RRD-databases.
%prep %prep
%setup -q %setup -q
%patch1 -p1 %patch1 -p1
%patch2 -p0
autoreconf autoreconf
cp -p %{SOURCE3} README.fedora cp -p %{SOURCE3} README.fedora
@@ -134,6 +138,9 @@ fi
%{_datadir}/nagios/html/%{name}/kohana %{_datadir}/nagios/html/%{name}/kohana
%changelog %changelog
* Sat Jul 22 2017 Daniel Steiner <dsteiner@redhat.com> - 0.6.25-5
- PHP error fixed in pnp.php helper module
* Tue Jul 11 2017 Daniel Steiner <dsteiner@redhat.com> - 0.6.25-4 * Tue Jul 11 2017 Daniel Steiner <dsteiner@redhat.com> - 0.6.25-4
- Rebuilt for Fedora 25 - Rebuilt for Fedora 25