From 38fee6398d2e237bb369be226717e767817c411e Mon Sep 17 00:00:00 2001 From: Josef Ridky Date: Tue, 27 Feb 2018 14:12:43 +0100 Subject: [PATCH] Add gcc requirement --- net-snmp.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/net-snmp.spec b/net-snmp.spec index e881956..41799d0 100644 --- a/net-snmp.spec +++ b/net-snmp.spec @@ -73,6 +73,7 @@ Patch102: net-snmp-5.7.3-python3.patch Requires: %{name}-libs%{?_isa} = %{epoch}:%{version}-%{release} Requires: %{name}-agent-libs%{?_isa} = %{epoch}:%{version}-%{release} +Requires: gcc # This is actually needed for the %%triggerun script but Requires(triggerun) # is not valid. We can use %%post because this particular %triggerun script # should fire just after this package is installed. @@ -109,6 +110,7 @@ which contains NET-SNMP utilities. %package utils Summary: Network management utilities using SNMP, from the NET-SNMP project Requires: %{name}-libs%{?_isa} = %{epoch}:%{version}-%{release} +Requires: gcc %description utils The net-snmp-utils package contains various utilities for use with the @@ -127,7 +129,7 @@ Requires: elfutils-devel, rpm-devel, elfutils-libelf-devel, openssl-devel Requires: lm_sensors-devel %endif # pull perl development libraries, net-snmp agent libraries may link to them -Requires: perl-devel%{?_isa} +Requires: perl-devel%{?_isa}, gcc %description devel The net-snmp-devel package contains the development libraries and @@ -495,6 +497,7 @@ LD_LIBRARY_PATH=%{buildroot}/%{_libdir} make test %changelog * Tue Feb 27 2018 Josef Ridky - 1:5.7.3-35 - compile against Python3 +- add gcc requirement * Fri Feb 16 2018 Josef Ridky - 1:5.7.3-34 - fix wrong systemd patch (#1545946)