rpm_macros

# Differences

This shows you the differences between two versions of the page.

 rpm_macros [2015/05/22 10:43]stephdl [RPM directory macros] rpm_macros [2019/06/05 21:48] (current) Both sides previous revision Previous revision 2015/05/22 10:44 stephdl 2015/05/22 10:43 stephdl [RPM directory macros] 2015/05/22 10:42 stephdl created Next revision Previous revision 2015/05/22 10:44 stephdl 2015/05/22 10:43 stephdl [RPM directory macros] 2015/05/22 10:42 stephdl created Line 1: Line 1: - ===== Valid RPM Macros ===== + ===== RPM Macros ===== Here are the definitions for some common specfile macros as they are defined on Fedora 13 (rpm-4.8.0-14.fc13). For definitions of more macros, examine the output of "<​code>​rpm --showrc"​. To see the expanded definition of a macro use the command <​code>​rpm --eval "​%{macro}"​. ​ Note that neither command will take into account macros defined inside specfiles, but both will take into account macros defined in your <​code>​~/​.rpmmacros​ file and macros defined on the command line. Here are the definitions for some common specfile macros as they are defined on Fedora 13 (rpm-4.8.0-14.fc13). For definitions of more macros, examine the output of "<​code>​rpm --showrc"​. To see the expanded definition of a macro use the command <​code>​rpm --eval "​%{macro}"​. ​ Note that neither command will take into account macros defined inside specfiles, but both will take into account macros defined in your <​code>​~/​.rpmmacros​ file and macros defined on the command line.