Ticket #69 (closed enhancement: fixed)

Opened 6 years ago

Last modified 6 years ago

RFE, PATCH: Allow -d with %patch


Reported by: scop Assigned to: pmatilai Priority: minor Milestone:
Component: rpm Version: RPM Development Keywords: Cc:


Description

It's annoying having to cd between dirs and when applying patches that are generated with their toplevel dir below the toplevel dir extracted from sources. The attached patch against current git (warning: compile tested only) allows using -d with %patch to "fix" this.

Attachments

0004-Add-d-option-to-patch.patch (3.4 kB) - added by scop on 06/16/09 19:27:13.
Add -d to %patch

Change History

06/16/09 19:27:13 changed by scop

  • attachment 0004-Add-d-option-to-patch.patch added.

Add -d to %patch

08/14/09 08:42:36 changed by pmatilai

  • status changed from new to closed.
  • resolution set to fixed.

Seems to work... Applied, thanks for the patch.

Although all these %patch options make me want to just let it pass any unknown stuff down to the actual patch command without trying to validate but ... that's another story.