Tuesday, October 19, 2010

Building an RPM
First things i did was downloaded the source file of what i wanted to build.

yumdownloader --source PACKAGENAME
Afterwards:
rpm -i PACKAGENAME

Then i went to the specfiles to look at it and find some information of the package

~/rpmbuild/SPECS

Now the only thing left to do is build the package! and the command to do that is:

build -ba PACKAGENAME.spec

That's about it.Simple steps!