Rpmbuild question

Paul Howarth paul at city-fan.org
Thu Aug 26 13:30:16 UTC 2004


Thomas E. Dukes wrote:
> Hello,
> 
> I have never rebuilt a src package and am not really sure how to do this.  I
> read the man page but I can't seem to figure it out.
> 
> I want to rebuild the proftpt src rpm from pbone.net with mysql support.
> The package indicates 2 rebuild options:
> 
> Available rpmbuild rebuild options :
> --without : tls
> --with : ldap mysql postgresql
> 
> I have installed the source rpm and tried running rpmbuild -ba --with : ldap
> mysql postgresql from /usr/src/redhat/SPECS but that doesn't work.
> 
> Can I get a little help here?  I have tried numerous times with all kind of
> different combinations and still no go.

Try:

rpmbuild --rebuild --with mysql proftpd.src.rpm
or
rpmbuild --rebuild --with mysql --with ldap proftpd.src.rpm
etc.

Cheers, Paul.





More information about the fedora-list mailing list