packit / dist-git-to-source-git

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

Handle empty `%prep` sections #164

Closed sentry-io[bot] closed 3 years ago

sentry-io[bot] commented 3 years ago

Some packages (probably mostly the ones providing macros) have an empty %prep section or are completely missing the %prep section.

In these cases files found in SOURCES (which are not archives downloaded from the lookaside cache) could be used as the content of the repository.

A recent example is go-srpm-macros.

Sentry Issue: DIST2SRC-UPDATE-1Q

dhodovsk commented 3 years ago

Duplicate of https://github.com/packit/dist-git-to-source-git/issues/46 (?) :)

csomh commented 3 years ago

Duplicate of #46 (?) :)

Yes! Thanks!