Opened 6 years ago
Last modified 6 years ago
Reported by: scop Assigned to: pmatilai
Priority: minor Milestone:
Component: rpm Version: RPM Development
Keywords: Cc:
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.
Add -d to %patch
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.