Am Dienstag, dem 06.07.2021 um 17:15 +0100 schrieb Richard W.M. Jones:
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.
Rich.
You can either use `spectool -l rpm.spec` to get the URL ('SourceX:[
\t]*' prepended) printed to stdout with the macros expanded, or if you
want to download the files to $PWD you can use `spectool -g rpm.spec`.
`spectool -h` will give you information about more usage options.
Cheers,
Björn