Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 1052431 - Trivial change for ppc64le in net-snmp spec
Summary: Trivial change for ppc64le in net-snmp spec
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: net-snmp
Version: rawhide
Hardware: ppc64le
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Jan Safranek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F-ExcludeArch-ppc64le, PPC64LETracker
TreeView+ depends on / blocked
 
Reported: 2014-01-13 19:57 UTC by Brent Baude
Modified: 2014-01-15 16:16 UTC (History)
2 users (show)

Fixed In Version: net-snmp-5.7.2-18.fc21
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-01-15 16:11:41 UTC


Attachments (Terms of Use)

Description Brent Baude 2014-01-13 19:57:23 UTC
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


Note You need to log in before you can comment on or make changes to this bug.