[Rpm-maint] [rpm-software-management/rpm] RFE: allow rpmspec query %{SOURCE#}, %{SOURCEURL#}, %{PATCH#} and %{PATCHURL#} over query format string (Issue #2134)
Tomasz Kłoczko
notifications at github.com
Fri Jul 29 10:07:52 UTC 2022
Yeah it would be usefull to extend a bit rpmspec to be able to query spec file for tockens like %{SOURCE#}, %{SOURCEURL#}, %{PATCH#} and %{PATCHURL#}
```console
[tkloczko at devel-g2v SPECS]$ rpmspec -q xfce4-whiskermenu-plugin.spec --qf "%{SOURCE0}\n"
error: incorrect format: unknown tag: "SOURCE0"
error: incorrect format: unknown tag: "SOURCE0"
error: incorrect format: unknown tag: "SOURCE0"
[tkloczko at devel-g2v SPECS]$ rpmspec -q xfce4-whiskermenu-plugin.spec --qf "%{PATHC0}\n"
error: incorrect format: unknown tag: "PATHC0"
error: incorrect format: unknown tag: "PATHC0"
error: incorrect format: unknown tag: "PATHC0"
```
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/2134
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/issues/2134 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20220729/c6182dad/attachment.html>
More information about the Rpm-maint
mailing list