Added support for ppc64le architecture

Resolves: #1052431
This commit is contained in:
Jan Safranek 2014-01-15 08:45:21 +01:00
parent 470e16c4b5
commit 3b0b54d839
1 changed files with 7 additions and 4 deletions

View File

@ -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 <jsafrane@redhat.com> - 1:5.7.2-18
- Added support for ppc64le architecture (#1052431)
* Thu Jan 9 2014 Jan Safranek <jsafrane@redhat.com> - 1:5.7.2-17
- Moved tmpfiles.d config file to /usr/lib