Using git for patch management in Fedora
msuchy at redhat.com
Thu Nov 21 08:29:35 UTC 2013
On 11/19/2013 11:22 AM, Richard W.M. Jones wrote:
> Some of these packages have invented home-brewed methods to generate
> the Patch lines in the spec file, eg:
FYI: Several projects use Tito , which allows you to operate on (unpacked) git tree (usually clonned). Do changes
directly in git.
And if you call simply `tito build --rpm` with builder configured as
`tito.distributionbuilder.DistributionBuilder`. It will create pristine tar ball from last upstream tag (and that tar
have same timestamps as upstream and therefore md5 will match). And automatically modify spec (in temporary directory) with:
Where each patch is concated commits between tagged releases.
You can find more information in:
yum install tito
And BTW Tito have interface to Fedora dist-git (man releasers.conf).
Miroslav Suchy, RHCE, RHCDS
Red Hat, Software Engineer, #brno, #devexp, #fedora-buildsys
More information about the devel