-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The rpmautospec preprocessing may fail #71
Comments
praiskup
added a commit
to praiskup/dist-git
that referenced
this issue
Nov 22, 2024
The src.rpm is distribution-specific format; the `rpmbuild -bs` doesn't necessarily generate the same output SRC.RPM if run on different distributions. The `snapshot` tarball is though generated in a distribution-agnostic way. Note that this tarball generator still requires specfile parsing by RPM, and it may fail easily, see release-engineering#71 for more info.
praiskup
added a commit
to praiskup/dist-git
that referenced
this issue
Nov 24, 2024
The src.rpm is distribution-specific format; the `rpmbuild -bs` doesn't necessarily generate the same output SRC.RPM if run on different distributions. The `snapshot` tarball is though generated in a distribution-agnostic way. Note that this tarball generator still requires specfile parsing by RPM, and it may fail easily, see release-engineering#71 for more info.
Tested with jello.spec from Rawhide, and c10s variant fails to generate the version-release in changelog: 55c55
< * Fri Nov 01 2024 Benjamin A. Beasley <code@musicinmybrain.net> - 1.6.0-12
---
> * Fri Nov 01 2024 Benjamin A. Beasley <code@musicinmybrain.net> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The while
rpmautospec_core.specfile_uses_rpmautospec
is supposed to alwayswork, the
rpmautospec.process_distgit
may fail to parse the specfile.There's the option
error_on_unparseable_spec
that we can set toFalse
. Butwe should first fully understand the consequences.
The text was updated successfully, but these errors were encountered: