@pmatilai converted this issue into discussion #2968.
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/2967#event-12102257552
You are receiving this because you are subscribed to this thread.
Message ID:
Accessing rpm macros through the `macros` table *is* documented in
https://rpm-software-management.github.io/rpm/manual/lua.html
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/2967#issuecomment-1994197986
You are receiving this
Closed #2967 as completed.
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/2967#event-12102237708
You are receiving this because you are subscribed to this thread.
Message ID:
___
Rpm-maint
TBH figuring out `rpm.expand("%{echo: some output}")` is also not that straight
forward. I was able to find such example at least.
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/2967#issuecomment-1994195978
You are receiving this
Oh. Interesting, the for the tip Nevertheless, I was not able to figure that
out myself, therefore it would deserve to be documented if that is the right
approach.
--
Reply to this email directly or view it on GitHub:
You can already do:
```
macros.echo({"hello world"})
```
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/2967#issuecomment-1994089448
You are receiving this because you are subscribed to this thread.
Message ID: