yum - list configure flags/options used to compile package

view full story

http://unix.stackexchange.com – How can I see a list of flags/options used to configure and compile a certain package in yum, without having to install it first? Say apache, for example. $ yum list available httpd Available Packages httpd.x86_64 2.2.15-15.el6.centos.1 base I'm running CentOS 6.3. UPDATE I followed @jsbillings answer, but first I had to add the CentOS Source repository, as it doesn't seem to be included by default. Added the following to /etc/yum.repos.d/CentOS-Base.repo [base-source] name=CentOS-$releasever - Base - Source baseurl=http://vault.centos.org/6.3/os/Source (HowTos)