Bug 1052431
| Summary: | Trivial change for ppc64le in net-snmp spec | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Brent Baude <bbaude> |
| Component: | net-snmp | Assignee: | Jan Safranek <jsafrane> |
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | jsafrane, thozza |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | ppc64le | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | net-snmp-5.7.2-18.fc21 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-01-15 16:11:41 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1051573 | ||
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