[CentOS] compiling rpms

Fri Aug 5 15:26:03 UTC 2005
Feizhou <feizhou at graffiti.net>

Feizhou wrote:
> 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.

Whoops..you can edit the Release version...postfix-2.x.x.mysql
> 
> Add a definition for a postfix-mysql package.

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

Please ignore these two, postfix compiles the table support in and does 
not have loadable modules per table type so you won't be able to get a 
postfix-mysql package.