On Sun, Oct 26, 2025 at 3:24 PM Fabio Valentini <[email protected]> wrote: > > On Sun, Oct 26, 2025 at 3:00 PM Vitaly Zaitsev via devel > <[email protected]> wrote: > > > > Hello. > > > > It seems that rpmautospec is having issues with %autochangelog, as the > > generated entries lack information about commit hashes: > > > > > Sun Oct 26 2025 Name <[email protected]> - 0.12-35 > > > > The correct %autochangelog entry should look something like this: > > > > > Sun Oct 26 2025 Name <[email protected]> - 0.12-35.20241202git3c1b4c18ccb2 > > If I remember correctly, this has always been a problem with the > %forge macros and has nothing to do with rpmautospec - because the > %forge macros put the snapshot information into the %distprefix macro, > and the changelog entry contains the version-release value *without* > the %dist suffix.
Sorry, sent too early. The "solution" is to put the snapshot information into Version (i.e. follow the "modern" snapshot versioning guidelines), and not put into Release via %distprefix (i.e. the "old" style snapshot versioning). Fabio -- _______________________________________________ devel mailing list -- [email protected] To unsubscribe send an email to [email protected] Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/[email protected] Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
