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
Attachment:
signature.asc
Description: This is a digitally signed message part
_______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure