[Fedora-packaging] NewPackageProcess, comment on Patch0 vs Patch

Tom 'spot' Callaway tcallawa at redhat.com
Fri Mar 4 21:08:51 UTC 2005


On Fri, 2005-03-04 at 21:38 +0100, Michael Schwendt wrote:

>What is the rationale?
>
>Patch: foo.patch
>Patch1: bar.patch
># ...
>%patch -p1 -b .foo
>%patch1 -p1 -b .bar
>
>work just fine. 'Patch' == 'Patch0' is true.

It's stylistic. 

I think %patch0 is cleaner than %patch, and won't confuse new packagers
who can assume that they can just do:

Patch: foo
Patch: bar

%patch -p1

And to be honest, the NewPackageProcess apparently got created while I
was asleep, from my "ExtrasPackageChecklist", which I wrote not as a
standard, but as a cheat sheet for me. Don't assume it's a standards
document worth following (yet).

~spot
---
Tom "spot" Callaway: Red Hat Sales Engineer || GPG Fingerprint: 93054260
Fedora Extras Steering Committee Member (RPM Standards and Practices)
Aurora Linux Project Leader: http://auroralinux.org
Lemurs, llamas, and sparcs, oh my!




More information about the Fedora-packaging mailing list