Hi there
When trying to switch to rpmautospec I noticed some surprises in how autospec
computes the next release. Environment: I run "rpmautospec" on Fedora 34 as a
check before committing to dist-git. I converted one spec file so far, but IIUC
"rpmautospec calculate-release" does not depend on the conversion at all.
Comparing the release field in the spec, the output of "fedpkg verrel" and that
of "rpmautospec calculate-release" (on the rawhide branch) indicates more than
1 problem:
spec: Release: 4%{?dist} verrel: BibTool-2.68-4.fc36 calculate_release release:
6
spec: Release: %autorelease (was 25!) verrel: adf-accanthis-fonts-1.8-4.fc36
calculate_release release: 4
spec: Release: 2%{?dist} verrel: adf-gillius-fonts-1.009-2.fc36
calculate_release release: 4
spec: Release: 5%{?dist} verrel: dblatex-0.3.12-5.fc36 calculate_release
release: 5
spec: Release: 15%{?dist} verrel: flickcurl-1.26-15.fc36 calculate_release
release: 17
spec: Release: 0.9.%{timestamp}svn%{svnversion}%{?dist} verrel:
impressive-0.13.0-0.9.20210612svn311.fc36 calculate_release release: 9
spec: Release: 10%{?dist} verrel: luckybackup-0.4.9-10.fc36 calculate_release
release: 13
spec: Release: 2%{?dist} verrel: notmuch-0.32.2-2.fc36 calculate_release
release: 2
spec: Release: 41%{?dist} verrel: portmidi-217-41.fc36 calculate_release
release: 30
spec: Release: 2%{?dist} verrel: sil-gentium-basic-fonts-1.102-2.fc36
calculate_release release: 2
spec: Release: 26%{?dist} verrel: tetex-elsevier-0.1.20090917-26.fc36
calculate_release release: 32
I know that the (inherited) font package changelogs are special), but next
release coming out at a value less than verrel (portmidi, adf-accanthis-fonts)
makes me nervous before committing to this. Are the F34 commands lacking?
_______________________________________________
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 on the list, report it:
https://pagure.io/fedora-infrastructure