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

Changing Release from `%autorelease` to `%autorelease -s %{date}git%{shortcommit}` fixes the changelog entry but breaks other things because the built RPMs will contain duplicate commit information (eg. 35.20241202git3c1b4c18ccb2.20241202git3c1b4c1.fc44) in their Release field.

How can I use both forge macros and rpmautospec?

SPEC: https://src.fedoraproject.org/rpms/speedcrunch/blob/rawhide/f/speedcrunch.spec

--
Sincerely,
  Vitaly Zaitsev ([email protected])

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