Use modern patch syntax for first spec patch - #846
Conversation
PR Summary by QodoUse modern syntax for first RPM spec patch applications
AI Description
Diagram
High-Level Assessment
Files changed (8)
|
Code Review by Qodo
1.
|
|
/agentic_review |
|
Code review by qodo was updated up to the latest commit 18473d4 |
lbarcziova
left a comment
There was a problem hiding this comment.
LGTM, can you please link #842 in commit/PR description?
ba6b4af to
45f2905
Compare
Default new explicit patch applications to %patch -P N when a spec has no prior patches. Preserve established conventions and normalize first-patch inheritance without changing shipped patch files. Resolves: PACKIT-5480 Related: packit#842 Assisted-by: GPT-6 Codex
Recognize %patch N alongside %patchN when adding a spec first inherited patch, preserving strip and backup options. Assisted-by: GPT-6 Codex
45f2905 to
7470a7c
Compare
Default new explicit patch applications to %patch -P N when a spec has no prior patches. Preserve established conventions and normalize first-patch inheritance without changing shipped patch files.
Resolves: PACKIT-5480
Related: #842
Assisted-by: GPT-6 Codex