packit / dist-git-to-source-git

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

ensure %auto: %patch is also good #78

Closed TomasTomecek closed 3 years ago

TomasTomecek commented 3 years ago

Since we override certain macros to be sure that we have a git repo in BUILD after we're done with -bp, we need to make sure that those overriden macros are actually executed. We also override %patch and this change is adding %patch to the list of macros which are fine.

If %patch is being used, we don't need to rewrite %setup to %autosetup.

With this change we are able to create a source-git repo for gcc.

Workarounds: https://bugzilla.redhat.com/show_bug.cgi?id=1881840 Related: https://github.com/packit/dist-git-to-source-git/issues/58#issuecomment-697203434

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

Build succeeded.

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

Build succeeded (gate pipeline).