[Rpm-maint] [rpm-software-management/rpm] Documentation for %{expr:..} and %[...] is missing from rpm.org/user_doc/macros.html (#1519)

Panu Matilainen notifications at github.com
Wed Jan 27 11:13:56 UTC 2021


No, %if is strictly a spec construct. You can evaluate against the arch macros though, eg
`%[ "%{_target_cpu}" == "x86_64" ? 1 : 0]`

-- 
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/issues/1519#issuecomment-768214291
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20210127/f244befb/attachment.html>


More information about the Rpm-maint mailing list