[Rpm-maint] [rpm-software-management/rpm] builtin_macro vs load (Issue #1864)
Panu Matilainen
notifications at github.com
Thu Dec 16 08:05:41 UTC 2021
> But the %{?load:foo} completely fails with RPM 4.17, so is it exception?
No, it just behaves as all the macros: since load is defined, this expands to "foo".
> %{?load:%{load:%{SOURCE4}}}
Not sure what you're trying to achieve with that, but it's unlikely to do what you want and certainly not the same as the old if-the-argument-file-exists logic. See https://github.com/rpm-software-management/rpm/issues/1669
--
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/1864#issuecomment-995532535
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20211216/6abcdfc2/attachment.html>
More information about the Rpm-maint
mailing list