# Conditional build:
%bcond_without tests # do not perform "make test"
-%include /usr/lib/rpm/macros.perl
%define plugin check_rbl
+%include /usr/lib/rpm/macros.perl
Summary: Nagios plugin to check if an server is blacklisted in RBL servers
Name: nagios-plugin-%{plugin}
-Version: 1.3.4
+Version: 1.3.5
Release: 1
License: GPL v3
Group: Networking
Source0: https://trac.id.ethz.ch/projects/nagios_plugins/downloads/%{plugin}-%{version}.tar.gz
-# Source0-md5: 29ccd13d2cb5330b1d28b3d726fcbe4d
+# Source0-md5: a4c557264633ed7bf840c629cd13a835
Source1: %{plugin}.cfg
Source2: %{plugin}.ini
URL: https://trac.id.ethz.ch/projects/nagios_plugins/wiki/check_rbl
%prep
%setup -q -n %{plugin}-%{version}
+# Don't add Data::Dumper dep
+sed -i -e '/use Data::Dumper/d' check_rbl
+
%build
%{__perl} Makefile.PL \
INSTALLVENDORSCRIPT=%{plugindir} \