According to the rpm
man page, the --eval
flag is used to print the macro expansion of an expression³.
This means that when you use this flag with an expression, rpm
will evaluate any macros present in the
expression and print the result (you can see an example of this in the RPM Fusion repos' install commands).
Bing
(1) rpm(8): RPM Package Manager - Linux man page - die.net. https://linux.die.net/man/8/rpm.
(2) RPM Macros :: Fedora Docs. https://docs.fedoraproject.org/en-US/packaging-guidelines/RPMMacros/.
(3) linux - strange rpm --eval command - Stack Overflow. https://stackoverflow.com/questions/47175191/strange-rpm-eval-command.