On Tue, Dec 2, 2025 at 6:53 PM Georg Sauthoff <[email protected]> wrote:
>
> Hello,
>
> I just migrated the python-inema package to the %autochangelog macro.
>
> The result kind of works, i.e. the build succeeds and the old changelog
> (now in the extra file `changelog`) are being picked up.
>
> However, the changelog of the resulting binary package misses the last
> commit message.
>
> ...
>
> Consequently, the referenced bugs aren't closed, as well.
>
> Can somebody double-check whether I made a mistake in the spec file or
> this is caused due to some external issue?

Commits that touch the changelog file do not count:
https://fedora-infra.github.io/rpmautospec-docs/autochangelog.html

> These two sources of information are:
> * An optional changelog file in the dist-git repository of the package. If 
> this file is present, it is included as is in the spec file. It must be 
> formatted according to the rules required for changelog text in the specfile, 
> including any necessary escaping of RPM macros.
> * The git history of the package between the most recent commit touching 
> changelog and the latest commit made to the package.

It's best to convert (with `rpmautospec convert` if you want to
automate it), and then bump the version in a followup commit.

-- 
Elliott
-- 
_______________________________________________
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

Reply via email to