On 1 February 2018 at 23:42, Germano Massullo <germano.massullo@xxxxxxxxx> wrote:
[,..]
you will obviously get
error: File /home/user/rpmbuild/SOURCES/
bettercap-ng-eb1a53e.tar.gz: No such file or directory.
Therefore I think wiki line
Source0: https://github.com/OWNER/%{
name}/archive/%{commit}/%{ name}-%{shortcommit}.tar.gz should be changed into
Source0: https://github.com/OWNER/%{
name}/archive/%{commit}/%{ name}-%{commit}.tar.gz
Am I right?
You need to download Source0 first.
Try:
$ wget -P ~/rpmbuild/SOURCES $(rpmbuild -bp --define "prep %dump" bettercap.spec 2>&1 | awk '/SOURCEURL0/ {print $3}')
then try rpmbuild.
kloczek
--
Tomasz Kłoczko || LinkedIn: http://lnkd.in/FXPWxH
_______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx