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

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

 



On 2 February 2018 at 10:41, Matěj Cepl <mcepl@xxxxxxx> 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 want.
%dump is in the format which is independent from specs formatting/indentations.

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