[CentOS] Finding out what options an RPM was built with

Sun Oct 16 08:22:41 UTC 2005
Nick Bryant <list at everywhereinternet.com>

Hi,

I'm compiling a lib for Samba that requires me to configure it with the same
options that Samba on the live system was compiled with. Is there any way of
finding out what options were used to make Samba that comes with centos
(3.5)?

TIA

Nick