Notice of intent: patching glibc

Jesse Keating jkeating at j2solutions.net
Fri Sep 2 22:48:28 UTC 2011


On Sep 2, 2011, at 3:39 PM, Simo Sorce wrote:
> On Fri, 2011-09-02 at 22:28 +0200, Jakub Jelinek wrote:
>> On Fri, Sep 02, 2011 at 01:20:19PM -0700, Adam Williamson wrote:
>>> Is there a specific reason glibc does this?
>> 
>> Yes.
>> 
>>> Can it not have a set of patches, one per change, as is usual practice?
>> 
>> Fedora glibc sources are from git, and the bit diff is just generated
>> diff between the upstream snapshot and corresponding Fedora snapshot,
>> sans a few Fedora-only directories (which are packaged as extra tarball).
> 
> Jakub I guess this would be some more work but why don't you just use
> git format-patch to get all the patches for the commits between the
> baseline and the top of the tree ?
> 
> That would give you a set of discrete patches that mirror the commits
> you have in the git tree.
> 
> Simo.


There are also ways to automate applying those patches in the spec file using git am and the %{patches} macro.

- jlk




More information about the devel mailing list