This is a bugfix and enhancement update.
Notable changes:
%{autorelease …}
with flags. Previously, the regex only recognized flagless %{autorelease}
(if the macro was surrounded by braces). #250-n
flag to %autorelease
. This flag prevents the dist tag macro from being rendered, which is useful if %autorelease
is itself used in a macro which is later plugged into Release:
, with the dist tag explicitly added. #248%autorelease
outside the Release:
field. #255As always, the update needs to be deployed onto Koji builders before the changes are effective for building your packages using %autorelease
and %autochangelog
in Fedora Infrastructure. Currently, it is deployed on builders in staging and can be tested there.
The last change in the list affects how releases are numbered: the same package history can now result in a higher release number than with previous versions. If you used %autorelease -b ...
to work around this fixed deficiency, you can remove it when building the package after this version of rpmautospec has been deployed into production. However, this will cause release numbers of historical changelog entries with the -b ...
offset to be off by that value, rpmautospec can’t retroactively fix this as it doesn’t know the reason why that flag was used in the past. If you don’t like the bad optics of this, you can save the rendered changelog of a prior build to the changelog
file in the package repository.
Updates may require up to 24 hours to propagate to mirrors. If the following command doesn't work, please retry later:
sudo dnf upgrade --refresh --advisory=FEDORA-2022-812172b0dc
Please login to add feedback.
This update has been submitted for testing by nphilipp.
This update's test gating status has been changed to 'waiting'.
This update's test gating status has been changed to 'failed'.
This update's test gating status has been changed to 'passed'.
This update has been pushed to testing.
works
This update can be pushed to stable now if the maintainer wishes
no regressions noted
No issues encountered using rpmautospec in hundreds of Rust packages.
This update has been submitted for stable by nphilipp.
nphilipp edited this update.
This update's test gating status has been changed to 'failed'.
FEDORA-2022-812172b0dc ejected from the push because 'Required tests did not pass on this update'
This update's test gating status has been changed to 'waiting'.
This update's test gating status has been changed to 'passed'.
This update has been submitted for stable by nphilipp.
This update has been pushed to stable.