packit / dist-git-to-source-git

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

Handle `%forgesetup` in `%prep` #163

Open sentry-io[bot] opened 3 years ago

sentry-io[bot] commented 3 years ago

Probably it could be turned into %forgeautosetup, so that we have the git repository created. See /usr/lib/rpm/macros.d/macros.forge for the macro definition.

Without this spec-files using %forgesetup will not produce a Git repo in BUILD and conversion/update will fail.

Sentry Issue: DIST2SRC-UPDATE-B

TomasTomecek commented 3 years ago

Wow, interesting. I'm assuming the macro can produce a git repo so hopefully, this shouldn't be that hard to fix.