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

View File

@ -11,7 +11,7 @@
Summary: A collection of SNMP protocol tools and libraries Summary: A collection of SNMP protocol tools and libraries
Name: net-snmp Name: net-snmp
Version: 5.7.2 Version: 5.7.2
Release: 17%{?dist} Release: 18%{?dist}
Epoch: 1 Epoch: 1
License: BSD License: BSD
@ -67,7 +67,7 @@ BuildRequires: net-tools
# for make test # for make test
BuildRequires: perl(TAP::Harness) BuildRequires: perl(TAP::Harness)
BuildRequires: systemd-units BuildRequires: systemd-units
%ifnarch s390 s390x %ifnarch s390 s390x ppc64le
BuildRequires: lm_sensors-devel >= 3 BuildRequires: lm_sensors-devel >= 3
%endif %endif
%if %{netsnmp_tcp_wrappers} %if %{netsnmp_tcp_wrappers}
@ -109,7 +109,7 @@ Requires: elfutils-devel, rpm-devel, elfutils-libelf-devel, openssl-devel
%if %{netsnmp_tcp_wrappers} %if %{netsnmp_tcp_wrappers}
Requires: tcp_wrappers-devel Requires: tcp_wrappers-devel
%endif %endif
%ifnarch s390 s390x %ifnarch s390 s390x ppc64le
Requires: lm_sensors-devel Requires: lm_sensors-devel
%endif %endif
# pull perl development libraries, net-snmp agent libraries may link to them # 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 \ ip-mib/ipv6ScopeZoneIndexTable ip-mib/ipIfStatsTable \
sctp-mib rmon-mib etherlike-mib" sctp-mib rmon-mib etherlike-mib"
%ifnarch s390 s390x %ifnarch s390 s390x ppc64le
# there are no lm_sensors on s390 # there are no lm_sensors on s390
MIBS="$MIBS ucd-snmp/lmsensorsMib" MIBS="$MIBS ucd-snmp/lmsensorsMib"
%endif %endif
@ -509,6 +509,9 @@ rm -rf ${RPM_BUILD_ROOT}
%{_initrddir}/snmptrapd %{_initrddir}/snmptrapd
%changelog %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 * Thu Jan 9 2014 Jan Safranek <jsafrane@redhat.com> - 1:5.7.2-17
- Moved tmpfiles.d config file to /usr/lib - Moved tmpfiles.d config file to /usr/lib