[Rpm-maint] [rpm-software-management/rpm] "load" does not work with RPM 4.16.90 (#1669)

Panu Matilainen notifications at github.com
Tue May 4 10:25:41 UTC 2021


%{load:...} works as always but any undocumented special behaviors of conditionals on built-in macros are gone in 4.17, %{?foo} always tests whether said macro is defined or not, both built-ins and user-defined macros.

Conditional load can be constructed with more control using expressions and the like, eg
`%[%{exists:/some/file}?"%{load:/some/file}":""]`

-- 
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-831838733
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20210504/9f5a42b8/attachment.html>


More information about the Rpm-maint mailing list