On Tue, Jul 6, 2021 at 6:15 PM Richard W.M. Jones <rjones(a)redhat.com> wrote:
Is this possible? I've got one with lots of %{macros} in it.
It seems like this should be possible using rpmspec, but I can't work
out how.
There's probably dozens of ways of doing this, but using spectool is very easy:
Running "spectool path-to.spec" - without the "-g" / "--get"
flag -
will print all expanded Sources and Patches.
And "spectool path-to.spec -s 0" will only expand and print Source0.
Fabio