[Rpm-maint] [rpm-software-management/rpm] Docs: Some formatting fixes for macros.md (PR #2251)
Frank Dana
notifications at github.com
Wed Nov 2 13:18:58 UTC 2022
@ferdnyc commented on this pull request.
> +`%{?!macro_name:value}` is the negative variant. It is expanded to "value"
+if "macro_name" not is defined. Otherwise it is expanded to the empty string.
Here, by the same logic, "value" wouldn't be fenced -- but `macro_name` probably should be. (Also, I just noticed the "not is defined" there.)
```suggestion
`%{?!macro_name:value}` is the negative variant. It is expanded to "value"
if `macro_name` is not defined. Otherwise it is expanded to the empty string.
```
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/2251#pullrequestreview-1165230654
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/pull/2251/review/1165230654 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20221102/fde87953/attachment.html>
More information about the Rpm-maint
mailing list