xxx 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
Conditionals may be nested within other conditionals, provided that the
inner conditional is completely enclosed by the outer conditional.
conditional is placed between a
conditional of some persuasion, and an
. It is used to create two blocks of spec file
statements, only one of which will be used in any given case.
make RPM_OPT_FLAGS="$RPM_OPT_FLAGS -I ."
See also: the section called The %else Conditional in Chapter 13.
Если вам понравилась статья, поделитесь ею с друзьями: