The concrete example being I have lots of specfiles with Source0: or other Source lines containing macros. How can I have these macros expanded without
If you're interested in what the scripts in your RPM look like after macro expansion, you can just build the RPM and then get RPM to extract the scripts: