packit / dist-git-to-source-git

Converting dist-git to source-git
MIT License
4 stars 9 forks source link

`%setup` → `%autosetup -N` unless `-aN -aM` #93

Closed TomasTomecek closed 3 years ago

TomasTomecek commented 3 years ago

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.

Fixes some of #92

softwarefactory-project-zuul[bot] commented 3 years ago

Build failed.

softwarefactory-project-zuul[bot] commented 3 years ago

Build failed.

softwarefactory-project-zuul[bot] commented 3 years ago

Build succeeded.

softwarefactory-project-zuul[bot] commented 3 years ago

Build succeeded.

softwarefactory-project-zuul[bot] commented 3 years ago

Build succeeded (gate pipeline).