rpm build question
Douglas Hussey <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
I am using Red Hat Enterprise Linux Server release 5.
I need to rebuild the latest net-snmp-5.5 (rebuild the RPM) . However, after
the rpm build process I only end up with:
net-snmp-5.5-1.x86_64.rpm
net-snmp-debuginfo-5.5-1.x86_64.rpm
net-snmp-devel-5.5-1.x86_64.rpm
net-snmp-perlmods-5.5-1.x86_64.rpm
I need utils and libs. How do I build those packages? These are needed for
Red Hat.
I believe in the spec that it detects the correct platform, from the spec:
# ugly RHEL detector
# SuSE build service defines rhel_version, RHEL itself defines nothing
%if 0%{?rhel_version}
%define rhel %{?rhel_version}
%else
%define is_rhel %(grep "Red Hat Enterprise Linux" /etc/redhat-release
&>/dev/null && echo 1 || echo 0)
%if %{is_rhel}
%define rhel %(sed </etc/redhat-release -e 's/.*release \\(.\\).*/\\1/' )
%endif
%endif
Thanks for the help in this matter.
~Doug
------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users