Sometimes packages have multiple sources (= archives) which they unpack
during %prep in different ways. This can be done with %setup -aN -aM.
Sadly %autosetup -aN -aM does not work: https://bugzilla.redhat.com/show_bug.cgi?id=1881840
So we need to turn back into overwriting %setup unless we detect this
use case.
But the eternal problem with patches applied in a subdir persists.
Sometimes packages have multiple sources (= archives) which they unpack during %prep in different ways. This can be done with
%setup -aN -aM
. Sadly%autosetup -aN -aM
does not work: https://bugzilla.redhat.com/show_bug.cgi?id=1881840So we need to turn back into overwriting %setup unless we detect this use case.
But the eternal problem with patches applied in a subdir persists.
Fixes some of #92