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

