On 2 February 2018 at 08:49, Panu Matilainen <pmati...@redhat.com> wrote: [..]
> You need to download Source0 first. >> Try: >> >> $ wget -P ~/rpmbuild/SOURCES $(rpmbuild -bp --define "prep %dump" >> bettercap.spec 2>&1 | awk '/SOURCEURL0/ {print $3}') >> > > That's a rather arcane way of getting something out of the spec, you might > want to give 'rpmspec --parse' a try. Eg > > $ rpmspec --parse rpm.spec |awk '/Source/ {print $2}' > http://rpm.org/releases/testing/rpm-4.14.90-git14108.tar.bz2 Just try to change in the spec file s/Source/SOurce/ and you will find that your onliner will fail when mine still will be working. kloczek -- 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