diff --git a/docs/manual/spec.md b/docs/manual/spec.md index 06d7721ac3..80c2ae4589 100644 --- a/docs/manual/spec.md +++ b/docs/manual/spec.md @@ -12,6 +12,7 @@ Spec files describe how software is build and packaged. * [→ Macro syntax](macros.md) * [Comments](#comments) * [Conditionals](#conditionals) + * [→ Conditional Builds](conditionalbuilds.md) * [Sections](#sections) * [Preamble](#preamble) * [Dependencies](#dependencies) @@ -112,6 +113,14 @@ other conditionals. %if-conditionals are not macros, and are unlikely to yield expected results if used in them. + +### Conditional Builds ### + +Conditionals can be made available for users building the package. +Conditional Builds](conditionalbuilds.md) add `--with` and `--without` +command line options to `rpmbuild` that can be used inside the spec +file. + ### Sections ### The spec file is divided in several sections. Except of the preamble