Re: Packaging wiki: shortcoming in Github Source0 (?)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux