[CentOS] compiling rpms

Feizhou feizhou at graffiti.net
Fri Aug 5 14:47:27 UTC 2005


Mark Quitoriano wrote:
> Hi!
> 
> i compiled rpms like postfix with mysql support. My problem is when i
> compile programs i can't distinguish the difference between postfix
> w/o mysql and postfix w/ mysql because they have the same
> filename(postfix-2.x.x.i386.rpm), what i like to happen is when i
> compile postfix w/ mysql support it will show something like
> postfix-mysql-2.x.x.i386.rpm. so when i install and try to query it,
> it will show postfix-mysql-2.x.x not just postfix-2.x.x. what file
> should i edit to make this happen?

The postfix.spec file that you feed to rpmbuild.

Add a definition for a postfix-mysql package.

Then add a files section for the files under the postfix-mysql package.



More information about the CentOS mailing list