rpmbuild
Macro
|
Holds
|
%0
|
The name of the macro
|
%*
|
All the parameters to the macro, except for any processed options
|
%#
|
The number of parameters
|
%1
|
The first parameter
|
%2
|
The second parameter
|
%3
|
The third parameter, and so on with %4, %5 and beyond
|
%{-p}
|
Holds -p if the -p parameter was passed to the macro; otherwise holds nothing
|
%{-p*}
|
Holds the value passed with the -p parameter, if the -p parameter was passed to the macro; otherwise holds nothing
|
%{-p:text}
|
Holds text if the -p parameter was passed to the macro; otherwise holds nothing
|