Hide Forgot
Please consider the following change to the net-snmp spec file which allows it to be built for ppc64le: diff --git a/net-snmp.spec b/net-snmp.spec index 6da14f7..160f1ef 100644 --- a/net-snmp.spec +++ b/net-snmp.spec @@ -65,7 +65,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} @@ -107,7 +107,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 @@ -223,7 +223,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