[Rpm-maint] [rpm-software-management/rpm] Add %bcond macro for defining build conditionals (#1520)

Petr Viktorin notifications at github.com
Fri Jan 29 13:32:55 UTC 2021


@encukou commented on this pull request.



>  ## Check whether an option is enabled or disabled
 
-To define `BuildRequires` depending on the command-line switch, you can use the
-`%{with foo}` macro:
+To make parts of the spec file conditional depending on the command-line
+switch, you can use the `%{with foo}` macro or its counterpart,
+`%{wthout foo}`:

```suggestion
`%{without foo}`:
```

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/1520#discussion_r566823894
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20210129/2745ddaa/attachment.html>


More information about the Rpm-maint mailing list