On Tue, Dec 12, 2017 at 1:16 PM, Adam Williamson adamwill@fedoraproject.org wrote:
On Tue, 2017-12-12 at 21:11 +0100, nicolas.mailhot@laposte.net wrote:
If you have patches that apply at different levels, you can't use it, unless there's a trick I don't know about.
My patches are all -p1 as taught by ancient rpm lore, but sometimes I mix patches from other origins and those can be anything.
Thanks for the tip, I will try to remember it
No problem. I find %autosetup so handy that usually if I need to use a patch from somewhere else that's at a different prefix level, I just hand-edit that patch to be at level 1 so I can keep using it...
Definitely agree with rewriting the patch to fit %autosetup. It also reminds me to resubmit the patch upstream whenever I find patches that old :)
- Ken