On vendredi 2 février 2018 00:42:07 CET Germano Massullo wrote: > I think I have found a shortcoming in > https://fedoraproject.org/wiki/Packaging:SourceURL#Commit_Revision > Github line, which is > Source0: > https://github.com/OWNER/%{name}/archive/%{commit}/%{name}-%{shortcommit}.ta > r.gz but I am not sure, so I have not made any edit to the wiki page. > > In my case I am packaging bettercap-ng with the following attributes > commit eb1a53efa3171aefed0ec9766d8c5047bd0df289 > shortcommit eb1a53e > > rpmbuild parser will translate Source0 into > https://github.com/evilsocket/bettercap-ng/archive/eb1a53efa3171aefed0ec9766 > d8c5047bd0df289/bettercap-ng-eb1a53e.tar.gz but if you try inserting such > URL in your browser, Github will return a file named > Follow-up. I've just grabbed your SPEC from https://germano.fedorapeople.org/ package_reviews/bettercap/ and used shortcommit. The download went well: $ spectool -g *.spec Getting https://github.com/evilsocket/bettercap-ng/archive/ eb1a53efa3171aefed0ec9766d8c5047bd0df289/bettercap-ng-eb1a53e.tar.gz to ./ bettercap-ng-eb1a53e.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 165 0 165 0 0 27 0 --:--:-- 0:00:06 --:--:-- 46 100 624k 100 624k 0 0 91305 0 0:00:07 0:00:07 --:--:-- 1151k _______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx