Re: Using git for patch management in Fedora

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

 



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 [1], 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:
Patch0: foo-1.2-1-to-foo-1.2-2.patch
Patch1: foo-1.2-1-to-foo-1.2-3.patch
Where each patch is concated commits between tagged releases.

You can find more information in:
yum install tito
man tito.props
man tito

And BTW Tito have interface to Fedora dist-git (man releasers.conf).

[1] https://github.com/dgoodwin/tito
--
Miroslav Suchy, RHCE, RHCDS
Red Hat, Software Engineer, #brno, #devexp, #fedora-buildsys
--
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct





[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