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

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

 



On 02/02/2018 12:41 PM, Matěj Cepl 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}')

Please mind your quotes, I didn't write that.


Or even better

     $ spectool -g bettercap.spec

(spectool is from rpmdevtools)

Yes spectool was recommended by somebody else already, but ultimately only rpm itself can truly parse a spec, spectool is just a rough approximation (but usually does work in the more common cases, yes)

	- Panu -

Matěj

_______________________________________________
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