At 11:36 PM +0100 9/15/05, Paul Smith wrote: >Dear All > >How can I replace the spec file in a srpm? Explode the RPM, edit the spec file, rebuild. Assuming a sane build setup: $ rpmbuild --recompile -bp --target i686 package-version.src.rpm replace "i686" with your desired target architecture, and package-version.src.rpm with the name of the rpm to alter. $ cd path/to/rpmbuild/SPECS Edit the specfile. $ rpmbuild -ba specfilename ____________________________________________________________________ TonyN.:' <mailto:tonynelson@xxxxxxxxxxxxxxxxx> ' <http://www.georgeanelson.com/>