Learn more about these different git repos.
Other Git URLs
Apparantly, at least the local autospec stuff (fedpkg srpm) trips over macro names such as %ldconfig_scriptlets in git commit log messages and omits them. This is a problem because you sometimes want to explain packaging changes in the log subject or message.
fedpkg srpm
%ldconfig_scriptlets
I think that rpmautospec should just escape percent characters by doubling them (%→%%) when making changelog entries from commit messages.
%
%%
It’s worse than omitting macros, I suspect. In fact, I think %ldconfig_scriptlets was expanded, and appeared to be omitted because expands to nothing in Fedora.
I can confirm this too. We have a commit in python-nixio where %global is used in the commit message, and so autochangelog cannot be used there because it expands the marco and errors.
python-nixio
%global
autochangelog
here's the commit:
https://src.fedoraproject.org/rpms/python-nixio/c/adc1676510643db25089460a8e6b371d48ff4e88?branch=rawhide
It's easy to reproduce:
I opened #234 that seems to address my simple case. It simply replaces all occurrences of %+ in the commit logs with two % characters.
%+
This is fixed with #244, in version 0.2.6.
Metadata Update from @nphilipp: - Issue close_status updated to: Fixed - Issue status updated to: Closed (was: Open)
Login to comment on this ticket.