[Rpm-maint] [rpm-software-management/rpm] "%{?load:foo}" does not work with RPM 4.16.90 (#1669)

Vít Ondruch notifications at github.com
Tue May 11 21:13:10 UTC 2021


Actually I think that I understand now. It evaluated as ternary operator now. Therefore the `%{?load:%{SOURCE4}} expression is now evaluated as `%{false ? load : %{SOURCE4}}`.

Nevertheless, I don't understand why the previous functionality was removed. The question mark was useful for backward compatibility, because old RPM understands it as a way of detecting existence of macro and apparently also existence of built in (and from packagers POV, there is no difference between built in and macro).



Nevertheless, this still leaves 

-- 
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/1669#issuecomment-839174761
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20210511/977a0e12/attachment.html>


More information about the Rpm-maint mailing list