Expanding rpmbuild variables

From V.S.V., Inc.
Jump to: navigation, search

If you want to see what those SPEC file variables expand to, try:

rpm --showrc

This will dump out all the variables the system knows about.

If you have a specific one you want to know its value, try:

 rpm --eval %{_mandir}

Main_Page