[WBEL-users] editing and src rpm

Will Senn will_senn@comcast.net
Thu, 15 Apr 2004 09:31:15 -0500


Dominic,

The 'right' way:
http://freshrpms.net/docs/fight

my quick and dirty approach has been:
#install the source
rpm -ivh whateverSRPM.src.rpm

#unpack it to the BUILD directory
rpmbuild -bp SPECS/whatever.spec

#edit and change
vi whatever.c

#rebuild it from SPEC
rpmbuild -ba whatever.spec

#create an optimized RPM from SRPMS
rpmbuild --rebuild --target i686 whatever-version.src.rpm

Later,

Will

scty Library wrote:

>Hello all,
>
>I would like to edit the freetype src rpm and then
>create a new rpm.  Now I know what file has to be
>edited in the source but I don't know how to make it
>an bin rpm again that will install the files in
>exactly the same place as the distro installed it.  If
>anyone could point me in the right direction it would
>be greatly appreciated.
>
>
>Thanks all
>Dominic
>
>
>	
>		
>__________________________________
>Do you Yahoo!?
>Yahoo! Tax Center - File online by April 15th
>http://taxes.yahoo.com/filing.html
>_______________________________________________
>Whitebox-users mailing list
>Whitebox-users@beau.org
>http://beau.org/mailman/listinfo/whitebox-users
>
>  
>