Библиотека сайта rus-linux.net
Maximum RPM: Taking the Red Hat Package Manager to the Limit | ||
---|---|---|
Prev | Appendix E. Concise Spec File Reference | Next |
Conditionals
The %ifxxx
conditionals are
used to begin a section of the spec file that is specific to a particular
architecture or operating system. They are followed by one or more
architecture or operating system specifiers, each separated by commas or
whitespace.
Conditionals may be nested within other conditionals, provided that the inner conditional is completely enclosed by the outer conditional.
The %ifarch Conditional
|
See also: the section called The %ifarch Conditional in Chapter 13.
The %ifnarch Conditional
|
See also: the section called The %ifnarch Conditional in Chapter 13.
The %ifos Conditional
|
See also: the section called The %ifos Conditional in Chapter 13.
The %ifnos Conditional
|
See also: the section called The %ifnos Conditional in Chapter 13.
The %else Conditional
|
See also: the section called The %else Conditional in Chapter 13.
The %endif Conditional
|
See also: the section called The %endif Conditional in Chapter 13.