User Tools

Site Tools


rpm_macros

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
rpm_macros [2015/05/22 10:43]
stephdl [RPM directory macros]
rpm_macros [2019/06/05 21:48] (current)
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</​code>"​. To see the expanded definition of a macro use the command <​code>​rpm --eval "​%{macro}"</​code>​. ​ Note that neither command will take into account macros defined inside specfiles, but both will take into account macros defined in your <​code>​~/​.rpmmacros</​code>​ 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</​code>"​. To see the expanded definition of a macro use the command <​code>​rpm --eval "​%{macro}"</​code>​. ​ Note that neither command will take into account macros defined inside specfiles, but both will take into account macros defined in your <​code>​~/​.rpmmacros</​code>​ file and macros defined on the command line.
rpm_macros.1432284236.txt.gz ยท Last modified: 2019/06/05 21:48 (external edit)