[Rpm-maint] [rpm-software-management/rpm] Document that `%patch 1` syntax is available and preferred (Issue #2209)

Panu Matilainen notifications at github.com
Thu Sep 29 10:55:01 UTC 2022


So to be clear, `%patch 1` only works as expected in rpm >= 4.18. Prior to that, it would attempt to apply patches 0 and 1. Go figure :roll_eyes: 

The most compatible form by far is `%patch -P1` which AIUI works in every rpm version out there, only it's not the preferred form for other reasons (the patch numbers should really be positional arguments, and options are, well, options)

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/2209#issuecomment-1262111577
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/issues/2209/1262111577 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20220929/630c5c9d/attachment.html>


More information about the Rpm-maint mailing list