Skip to content

Commit

Permalink
Add Conditional Builds to Spec Syntax page
Browse files Browse the repository at this point in the history
  • Loading branch information
ffesti committed Jan 14, 2025
1 parent 6dfbf33 commit 687cb5a
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions docs/manual/spec.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 687cb5a

Please sign in to comment.