On Tue, Jul 6, 2021 at 6:15 PM Richard W.M. Jones <rjo...@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
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
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@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to