Re: [Rpm-maint] [PATCH] fix %autopatch when patch do not exist

2015-09-18 Thread Dimitri John Ledkov
Heya, On 17 September 2015 at 09:46, Thierry Vignaud wrote: > Hi > > The attached patch fixes %autopatch (& thus %autosetup too) when a > patch doesn't actually exist. > > Indeed, unlike Mageia's %apply_patches which inspired it, %autopatch > continues instead of exiting when it fails to apply a

Re: [Rpm-maint] [PATCH] fix %autopatch when patch do not exist

2015-09-18 Thread Thierry Vignaud
On 18 September 2015 at 11:50, Dimitri John Ledkov wrote: > So this %autopatch thing is a bit useless to me at the moment, > specifically because of the requirement to have patches in > rpmbuild/SOURCES/. Uh? Patches can be anywhere. They're found where %patch is looking for them. There's nothing

[Rpm-maint] [PATCH] fix %autopatch when patch do not exist

2015-09-17 Thread Thierry Vignaud
Hi The attached patch fixes %autopatch (& thus %autosetup too) when a patch doesn't actually exist. Indeed, unlike Mageia's %apply_patches which inspired it, %autopatch continues instead of exiting when it fails to apply a patch because it doesn't exists. Eg: + /usr/bin/cat /home/tv/rpmbuild/SOU