On 2 February 2018 at 10:41, Matěj Cepl <mc...@cepl.eu> wrote:

> On 2018-02-02, 08:49 GMT, Panu Matilainen wrote:
> >> $ wget -P ~/rpmbuild/SOURCES $(rpmbuild -bp --define "prep
> >> %dump" bettercap.spec 2>&1 | awk '/SOURCEURL0/ {print $3}')
> Or even better
>     $ spectool -g bettercap.spec

In this case source tar ball will be downloaded to current directory
instead  %{_sourcedir}.
You need to add -R option to above.
Nevertheless spectool is for only limited number of operations.
Dumping state of spec internal parser gives you platform to do whatever you
%dump is in the format which is independent from specs

Tomasz Kłoczko | LinkedIn: *http://lnkd.in/FXPWxH <http://lnkd.in/FXPWxH>*
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org

Reply via email to