Question about dist-cvs make targets

Till Maas opensource at till.name
Fri Jan 8 13:51:11 UTC 2010


On Thu, Jan 07, 2010 at 07:47:10PM +0100, Enrico Scholz wrote:
> Jonathan Underwood <jonathan.underwood at gmail.com> writes:
> 
> > I have used make patch quite a bit when developing patches. I guess
> > it's just a wrapper around gendiff though, so it maybe redundant i.e.
> > in my use case I could have been using gendiff.
> 
> fwiw, 'gendiff' does not retain comments in patches and fails when one
> file is touched by multiple patches.  I wrote a wrapper around 'quilt'
> which is used like

Iirc there is a rediff target to keep the comments in a spec. gendiff
works with multiple patches if one only wants to modify the last patch
and the patches are applied with the right backup-suffixes in %patch.

> 
> | %apply -n23 -p1
> 
> This expands to
> 
> | quilt import -p 1 %PATCH23
> | quilt push -f
> 
> resp.
> 
> | %patch23 -p1
> 
> on systems without this macro.  Refreshing and developing of patches is
> very easy in this way.

Would you please provide more instructions about how to implement it and
how to use it?

Regards
Till
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-devel-list/attachments/20100108/8b5b9f10/attachment.sig>


More information about the fedora-devel-list mailing list