1.(Optional) Get the right version of net-snmp source RPM from internet, i.e., from RHEL source tree. 2. rpm -Uvh net-snmp-5.7.2-20.ael7b.src.rpm 3. rpmbuild -bb /root/rpmbuild/SPECS/net-snmp.spec, which creates the /root/rpmbuild/RPMS/ppc64le/net-snmp-perl-5.7.2-20.ael7b.ppc64le.rpm