Skip to content

Commit

Permalink
Demonstrate oneliner bcond syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
voxik authored and pmatilai committed Jan 31, 2025
1 parent c86f424 commit efae07c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/manual/conditionalbuilds.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,12 @@ BuildRequires: openssl-devel
Alternatively, you can test the presence (or lack thereof) of `%with_foo`
macros which is nicer in other situations, e.g.:

```
%{!?with_bootstrap:BuildRequires: ...}
```

or

```
%configure \
%{?with_static:--enable-static} \
Expand Down

0 comments on commit efae07c

Please # to comment.