From b0ffa68e227dd4cc80508c00981dbf1ac705cbea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= Date: Tue, 24 Mar 2020 14:23:36 +0100 Subject: [PATCH] Build-require Perl dependencies for running the tests --- net-snmp.spec | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/net-snmp.spec b/net-snmp.spec index 7fc78db..c42ec3e 100644 --- a/net-snmp.spec +++ b/net-snmp.spec @@ -10,7 +10,7 @@ Summary: A collection of SNMP protocol tools and libraries Name: net-snmp Version: 5.8 -Release: 17%{?dist} +Release: 18%{?dist} Epoch: 1 License: BSD @@ -70,7 +70,17 @@ BuildRequires: mariadb-connector-c-devel # for netstat, needed by 'make test' BuildRequires: net-tools # for make test +BuildRequires: perl(:VERSION) >= 5.6 +BuildRequires: perl(AutoLoader) +BuildRequires: perl(blib) +BuildRequires: perl(Carp) +BuildRequires: perl(DynaLoader) +BuildRequires: perl(Exporter) +BuildRequires: perl(overload) +BuildRequires: perl(strict) BuildRequires: perl(TAP::Harness) +BuildRequires: perl(vars) +BuildRequires: perl(warnings) %ifnarch s390 s390x ppc64le BuildRequires: lm_sensors-devel >= 3 %endif @@ -487,6 +497,9 @@ LD_LIBRARY_PATH=%{buildroot}/%{_libdir} make test %{_libdir}/libnetsnmptrapd*.so.%{soname}* %changelog +* Tue Mar 24 2020 Petr Pisar - 1:5.8-18 +- Build-require Perl dependencies for running the tests + * Wed Feb 26 2020 Josef Ridky - 1:5.8-17 - fix config error with RPM library (#1807274)