From 3b0b54d8393a1d935b14a0b84be2d3908af9fa63 Mon Sep 17 00:00:00 2001 From: Jan Safranek Date: Wed, 15 Jan 2014 08:45:21 +0100 Subject: [PATCH] Added support for ppc64le architecture Resolves: #1052431 --- net-snmp.spec | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/net-snmp.spec b/net-snmp.spec index 10b8a82..4661827 100644 --- a/net-snmp.spec +++ b/net-snmp.spec @@ -11,7 +11,7 @@ Summary: A collection of SNMP protocol tools and libraries Name: net-snmp Version: 5.7.2 -Release: 17%{?dist} +Release: 18%{?dist} Epoch: 1 License: BSD @@ -67,7 +67,7 @@ BuildRequires: net-tools # for make test BuildRequires: perl(TAP::Harness) BuildRequires: systemd-units -%ifnarch s390 s390x +%ifnarch s390 s390x ppc64le BuildRequires: lm_sensors-devel >= 3 %endif %if %{netsnmp_tcp_wrappers} @@ -109,7 +109,7 @@ Requires: elfutils-devel, rpm-devel, elfutils-libelf-devel, openssl-devel %if %{netsnmp_tcp_wrappers} Requires: tcp_wrappers-devel %endif -%ifnarch s390 s390x +%ifnarch s390 s390x ppc64le Requires: lm_sensors-devel %endif # pull perl development libraries, net-snmp agent libraries may link to them @@ -227,7 +227,7 @@ MIBS="host agentx smux \ ip-mib/ipv6ScopeZoneIndexTable ip-mib/ipIfStatsTable \ sctp-mib rmon-mib etherlike-mib" -%ifnarch s390 s390x +%ifnarch s390 s390x ppc64le # there are no lm_sensors on s390 MIBS="$MIBS ucd-snmp/lmsensorsMib" %endif @@ -509,6 +509,9 @@ rm -rf ${RPM_BUILD_ROOT} %{_initrddir}/snmptrapd %changelog +* Wed Jan 15 2014 Jan Safranek - 1:5.7.2-18 +- Added support for ppc64le architecture (#1052431) + * Thu Jan 9 2014 Jan Safranek - 1:5.7.2-17 - Moved tmpfiles.d config file to /usr/lib