[Rpm-maint] [rpm-software-management/rpm] `%patchlist` should have a way to group patches (Issue #3109)

Panu Matilainen notifications at github.com
Fri May 17 12:53:34 UTC 2024


Automatic patch numbering (whether %patchlist or unnumbered patches) and manual patch application based on them is a recipe for disaster that's best avoided IMO.

The raison d'être of %patchlist is to minimize boilerplate in the common case where you just want to apply all patches.  If you need precise control over patch numbers, better do so explicitly. One possible solution for this is to use manual Patch5123: numbering for those patches you need conditions on, just pick a sufficiently large starting number so the list doesn't clash (but it'll error out if that hapens).

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

Message ID: <rpm-software-management/rpm/issues/3109/2117538261 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20240517/e5841a22/attachment.html>


More information about the Rpm-maint mailing list