On 11/23/2011 04:07 AM, PANKAJ KUMAR wrote:
> %define _topdir    /root/net-snmp
> %define name       net-snmp
> %define version    5.6.1.1
> Name:  %{name}

is that really the entire spec file ? you are missing lots of things.. a
%files section would be good to get going. Take a look at this :
https://nazar.karan.org/cgit/net-snmp/tree/net-snmp.spec its a sample
net-snmp spec file you can use as a template and fix as you need.

I suspect 5.6 will shoe-horn in fairly cleanly into that.

on the other hand, you might want to consider using fpm, its a wrapper
around rpmbuild - and its meant to be a a very very basic inplace rpm
build tool. Its almost never the right or the best long term solution,
but if you need something in a hurry, and dont know what you are doing
in terms of systems management or rpm's; its something which might be
handy : https://github.com/jordansissel/fpm/wiki just keep in mind that
it does *no* sanity testing, you get to keep and then fix/livewith all
the broken bits.

- KB

_______________________________________________
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd

Reply via email to