Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
9d0a3b0
chore(lockfiles): update existing autochangelog packages to new lockf…
dmcilvaney Jun 2, 2026
539932c
feat(render): convert static changelogs to interleaved releases for a…
dmcilvaney Jun 2, 2026
a2c563c
feat(render): convert static changelogs to interleaved releases for b…
dmcilvaney Jun 2, 2026
eb897ae
feat(render): convert static changelogs to interleaved releases for c…
dmcilvaney Jun 2, 2026
c489629
feat(render): convert static changelogs to interleaved releases for d…
dmcilvaney Jun 2, 2026
dfed995
feat(render): convert static changelogs to interleaved releases for e…
dmcilvaney Jun 2, 2026
1bbaa08
feat(render): convert static changelogs to interleaved releases for f…
dmcilvaney Jun 2, 2026
46308f8
feat(render): convert static changelogs to interleaved releases for g…
dmcilvaney Jun 2, 2026
f68d1ae
feat(render): convert static changelogs to interleaved releases for h…
dmcilvaney Jun 2, 2026
9083106
feat(render): convert static changelogs to interleaved releases for i…
dmcilvaney Jun 2, 2026
3c86e5c
feat(render): convert static changelogs to interleaved releases for j…
dmcilvaney Jun 2, 2026
0759268
feat(render): convert static changelogs to interleaved releases for k…
dmcilvaney Jun 2, 2026
433d847
feat(render): convert static changelogs to interleaved releases for l…
dmcilvaney Jun 3, 2026
8c1f62a
feat(render): convert static changelogs to interleaved releases for m…
dmcilvaney Jun 3, 2026
17cd892
feat(render): convert static changelogs to interleaved releases for n…
dmcilvaney Jun 3, 2026
338220d
feat(render): convert static changelogs to interleaved releases for o…
dmcilvaney Jun 3, 2026
833a6bc
feat(render): convert static changelogs to interleaved releases for p…
dmcilvaney Jun 3, 2026
3f83d39
feat(render): convert static changelogs to interleaved releases for q…
dmcilvaney Jun 3, 2026
72326e1
feat(render): convert static changelogs to interleaved releases for r…
dmcilvaney Jun 3, 2026
1de2818
feat(render): convert static changelogs to interleaved releases for s…
dmcilvaney Jun 3, 2026
aea8ddb
feat(render): convert static changelogs to interleaved releases for t…
dmcilvaney Jun 3, 2026
abaa9bb
feat(render): convert static changelogs to interleaved releases for u…
dmcilvaney Jun 3, 2026
ff38405
feat(render): convert static changelogs to interleaved releases for v…
dmcilvaney Jun 3, 2026
f9440d7
feat(render): convert static changelogs to interleaved releases for w…
dmcilvaney Jun 3, 2026
4941cf2
feat(render): convert static changelogs to interleaved releases for x…
dmcilvaney Jun 3, 2026
d2da2ea
feat(render): convert static changelogs to interleaved releases for y…
dmcilvaney Jun 3, 2026
c8fb4f1
feat(render): convert static changelogs to interleaved releases for z…
dmcilvaney Jun 3, 2026
d7c9540
Update specs with new azldev
dmcilvaney Jun 3, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
2 changes: 1 addition & 1 deletion base/comps/SLOF/SLOF.comp.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[components.SLOF]
# Release: 8.git%{gittagcommit}%{?dist}
release = { calculation = "manual" }
autospec = { release-calculation = "manual", changelog-calculation = "manual" }
2 changes: 1 addition & 1 deletion base/comps/aalib/aalib.comp.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[components.aalib]
# Release: 0.56.%{rc_subver}%{?dist}
release = { calculation = "manual" }
autospec = { release-calculation = "manual", changelog-calculation = "manual" }
2 changes: 1 addition & 1 deletion base/comps/alsa-lib/alsa-lib.comp.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[components.alsa-lib]
# Release: 1%{?prever_dot}%{?dist}
release = { calculation = "manual" }
autospec = { release-calculation = "manual", changelog-calculation = "manual" }
2 changes: 1 addition & 1 deletion base/comps/ansible-packaging/ansible-packaging.comp.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[components.ansible-packaging]
# Release: 18.1%{?dist}
release = { calculation = "manual" }
autospec = { release-calculation = "manual", changelog-calculation = "manual" }
2 changes: 1 addition & 1 deletion base/comps/ant-contrib/ant-contrib.comp.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[components.ant-contrib]
# Release: 0.49.%{beta_number}%{?dist}
release = { calculation = "manual" }
autospec = { release-calculation = "manual", changelog-calculation = "manual" }
2 changes: 1 addition & 1 deletion base/comps/antlr3/antlr3.comp.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[components.antlr3]
# Release: %{baserelease}%{?dist}
release = { calculation = "manual" }
autospec = { release-calculation = "manual", changelog-calculation = "manual" }
2 changes: 1 addition & 1 deletion base/comps/arpack/arpack.comp.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[components.arpack]
# Release: 7%{dist}
release = { calculation = "manual" }
autospec = { release-calculation = "manual", changelog-calculation = "manual" }
2 changes: 1 addition & 1 deletion base/comps/augeas/augeas.comp.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[components.augeas]
# Release: 0.6%{?dist}
release = { calculation = "manual" }
autospec = { release-calculation = "manual", changelog-calculation = "manual" }
2 changes: 1 addition & 1 deletion base/comps/automoc/automoc.comp.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[components.automoc]
# Release: 0.51.%{?beta_tag}%{?dist}
release = { calculation = "manual" }
autospec = { release-calculation = "manual", changelog-calculation = "manual" }
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[components.azurelinux-release]
spec = { type = "local", path = "azurelinux-release.spec" }
release = { calculation = "manual" }
autospec = { release-calculation = "manual", changelog-calculation = "manual" }
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ overlays = [
# Set our version.
{ type = "spec-update-tag", tag = "Version", value = "1004" },

# WORKAROUND: manually bump the Release value for Stage2 bring-up.
{ type = "spec-update-tag", tag = "Release", value = "2%{?dist}" },

# Provide compatibility with Fedora's upstream version.
{ type = "spec-add-tag", tag = "Provides", value = "redhat-rpm-config = %{version}-%{release}" },
# Make sure this package takes precedence over (and would replace) any Fedora variant.
Expand Down
2 changes: 1 addition & 1 deletion base/comps/ca-certificates/ca-certificates.comp.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[components.ca-certificates]
# Release: 1.1%{?dist}
release = { calculation = "manual" }
autospec = { release-calculation = "manual", changelog-calculation = "manual" }
2 changes: 1 addition & 1 deletion base/comps/cachefilesd/cachefilesd.comp.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[components.cachefilesd]
# Release: 21%{?dist}%{?buildid}
release = { calculation = "manual" }
autospec = { release-calculation = "manual", changelog-calculation = "manual" }
2 changes: 1 addition & 1 deletion base/comps/chkrootkit/chkrootkit.comp.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[components.chkrootkit]
# Release: 1b%{?dist}
release = { calculation = "manual" }
autospec = { release-calculation = "manual", changelog-calculation = "manual" }
2 changes: 1 addition & 1 deletion base/comps/civetweb/civetweb.comp.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[components.civetweb]
# Release: 10%{?dev:%{dev}}%{?dist}
release = { calculation = "manual" }
autospec = { release-calculation = "manual", changelog-calculation = "manual" }
2 changes: 1 addition & 1 deletion base/comps/cmake/cmake.comp.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[components.cmake]
# Release: %{baserelease}%{?dist}
release = { calculation = "manual" }
autospec = { release-calculation = "manual", changelog-calculation = "manual" }
1 change: 0 additions & 1 deletion base/comps/components.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4188,7 +4188,6 @@ includes = ["**/*.comp.toml", "component-check-disablement.toml", "component-min
[components.python-rpds-py]
[components.python-rpm-generators]
[components.python-rpm-macros]
[components.python-rpmautospec]
[components.python-rpmautospec-core]
[components.python-rsa]
[components.python-rst-linker]
Expand Down
2 changes: 1 addition & 1 deletion base/comps/cpuinfo/cpuinfo.comp.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[components.cpuinfo]
# Release: %{patch_level}.git%{?shortcommit0}%{?dist}.2
release = { calculation = "manual" }
autospec = { release-calculation = "manual", changelog-calculation = "manual" }
2 changes: 1 addition & 1 deletion base/comps/cross-gcc/cross-gcc.comp.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[components.cross-gcc]
# Release: %{cross_gcc_release}%{?dist}
release = { calculation = "manual" }
autospec = { release-calculation = "manual", changelog-calculation = "manual" }
2 changes: 1 addition & 1 deletion base/comps/crypto-policies/crypto-policies.comp.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[components.crypto-policies]
# Release: 1.git%{git_commit_hash}%{?dist}
release = { calculation = "manual" }
autospec = { release-calculation = "manual", changelog-calculation = "manual" }
2 changes: 1 addition & 1 deletion base/comps/csnappy/csnappy.comp.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[components.csnappy]
# Release: 32.20211216git%{shortcommit}%{?dist}
release = { calculation = "manual" }
autospec = { release-calculation = "manual", changelog-calculation = "manual" }
2 changes: 1 addition & 1 deletion base/comps/cvsps/cvsps.comp.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[components.cvsps]
# Release: 0.39.b1%{?dist}
release = { calculation = "manual" }
autospec = { release-calculation = "manual", changelog-calculation = "manual" }
2 changes: 1 addition & 1 deletion base/comps/dbusmenu-qt/dbusmenu-qt.comp.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[components.dbusmenu-qt]
# Release: 0.37.%{snapshot}%{?dist}
release = { calculation = "manual" }
autospec = { release-calculation = "manual", changelog-calculation = "manual" }
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[components.device-mapper-persistent-data]
# Release: 4%{?dist}%{?release_suffix}
release = { calculation = "manual" }
autospec = { release-calculation = "manual", changelog-calculation = "manual" }
2 changes: 1 addition & 1 deletion base/comps/dialog/dialog.comp.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[components.dialog]
# Release: 55.%{dialogsubversion}%{?dist}
release = { calculation = "manual" }
autospec = { release-calculation = "manual", changelog-calculation = "manual" }
2 changes: 1 addition & 1 deletion base/comps/dnsmasq/dnsmasq.comp.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[components.dnsmasq]
# Release: 1%{?extraversion:.%{extraversion}}%{?dist}
release = { calculation = "manual" }
autospec = { release-calculation = "manual", changelog-calculation = "manual" }
2 changes: 1 addition & 1 deletion base/comps/dogtag-pki/dogtag-pki.comp.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[components.dogtag-pki]
# Release: %{release_number}%{?phase:.}%{?phase}%{?timestamp:.}%{?timestamp}%{?commit_id:.}%{?commit_id}%{?dist}
release = { calculation = "manual" }
autospec = { release-calculation = "manual", changelog-calculation = "manual" }

# AZL ships only java-25-openjdk; there is no java-21-openjdk, so the
# upstream %else branch (taken when %fedora and %rhel are both unset, as
Expand Down
2 changes: 1 addition & 1 deletion base/comps/elfutils/elfutils.comp.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[components.elfutils]
# Release: %{baserelease}%{?dist}
release = { calculation = "manual" }
autospec = { release-calculation = "manual", changelog-calculation = "manual" }

[[components.elfutils.overlays]]
description = "Remove elfutils-default-yama-scope package"
Expand Down
2 changes: 1 addition & 1 deletion base/comps/fcoe-utils/fcoe-utils.comp.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[components.fcoe-utils]
# Release: 12.git%{shortcommit0}%{?dist}
release = { calculation = "manual" }
autospec = { release-calculation = "manual", changelog-calculation = "manual" }
2 changes: 1 addition & 1 deletion base/comps/fence-agents/fence-agents.comp.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[components.fence-agents]
# Release: 1%{?alphatag:.%{alphatag}}%{?dist}
release = { calculation = "manual" }
autospec = { release-calculation = "manual", changelog-calculation = "manual" }

# Remove fence-agents-xenapi from the fence-agents-all metapackage.
# Xen is not applicable to Azure Linux's Hyper-V/KVM environment.
Expand Down
2 changes: 1 addition & 1 deletion base/comps/firefox/firefox.comp.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[components.firefox]
# Release: 1%{?pre_tag}%{?dist}
release = { calculation = "manual" }
autospec = { release-calculation = "manual", changelog-calculation = "manual" }

# Firefox 148.0's mfbt/tests/TestIntegerRange.cpp uses uint8_t/uint16_t/uint32_t/uint64_t
# without #include <cstdint>. GCC 15 (used in Azure Linux bootstrap) enforces stricter
Expand Down
2 changes: 1 addition & 1 deletion base/comps/foma/foma.comp.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[components.foma]
# Release: 0.14.%{snapshotdate}git%{shortcommit0}%{?dist}
release = { calculation = "manual" }
autospec = { release-calculation = "manual", changelog-calculation = "manual" }
2 changes: 1 addition & 1 deletion base/comps/freeipa/freeipa.comp.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[components.freeipa]
# Release: 5%{?rc_version:.%rc_version}%{?dist}
release = { calculation = "manual" }
autospec = { release-calculation = "manual", changelog-calculation = "manual" }
2 changes: 1 addition & 1 deletion base/comps/gcc/gcc.comp.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[components.gcc]
# Release: %{gcc_release}%{?dist}
release = { calculation = "manual" }
autospec = { release-calculation = "manual", changelog-calculation = "manual" }

# Our build of GCC does not support many of the language frontends Fedora
# supports. We also do not want GPU offload to be done by GCC. It is better done
Expand Down
2 changes: 1 addition & 1 deletion base/comps/gd/gd.comp.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[components.gd]
# Release: 19%{?prever}%{?short}%{?dist}
release = { calculation = "manual" }
autospec = { release-calculation = "manual", changelog-calculation = "manual" }
2 changes: 1 addition & 1 deletion base/comps/gengetopt/gengetopt.comp.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[components.gengetopt]
# Release: 16%{dist}
release = { calculation = "manual" }
autospec = { release-calculation = "manual", changelog-calculation = "manual" }
2 changes: 1 addition & 1 deletion base/comps/glibc/glibc.comp.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[components.glibc]
# Release: %{baserelease}%{?dist}
release = { calculation = "manual" }
autospec = { release-calculation = "manual", changelog-calculation = "manual" }
2 changes: 1 addition & 1 deletion base/comps/glusterfs/glusterfs.comp.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[components.glusterfs]
# Release: 0.@PACKAGE_RELEASE@%{?dist}.26
release = { calculation = "manual" }
autospec = { release-calculation = "manual", changelog-calculation = "manual" }
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[components.glyphicons-halflings-fonts]
# Release: 24.%{checkout}%{?dist}
release = { calculation = "manual" }
autospec = { release-calculation = "manual", changelog-calculation = "manual" }
2 changes: 1 addition & 1 deletion base/comps/gnulib/gnulib.comp.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[components.gnulib]
# Release: 56.%{gitdate}git%{?dist}
release = { calculation = "manual" }
autospec = { release-calculation = "manual", changelog-calculation = "manual" }
# These overlays are only needed until the snapshot advances past the Fedora f43
# commit that updated Source URLs from erislabs.net to salsa.debian.org:
# https://src.fedoraproject.org/rpms/gnulib/c/41cae067
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[components.golang-github-macaron-inject]
# Release: 0.25%{?dist}
release = { calculation = "manual" }
autospec = { release-calculation = "manual", changelog-calculation = "manual" }
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[components.golang-github-rcrowley-metrics]
# Release: 0.41%{?dist}
release = { calculation = "manual" }
autospec = { release-calculation = "manual", changelog-calculation = "manual" }
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[components.google-roboto-slab-fonts]
# Release: 0.26.20150923git%{?dist}
release = { calculation = "manual" }
autospec = { release-calculation = "manual", changelog-calculation = "manual" }
2 changes: 1 addition & 1 deletion base/comps/gts/gts.comp.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[components.gts]
# Release: 51.20%{snapshot}%{?dist}
release = { calculation = "manual" }
autospec = { release-calculation = "manual", changelog-calculation = "manual" }
3 changes: 1 addition & 2 deletions base/comps/gvisor-tap-vsock/gvisor-tap-vsock.comp.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
[components.gvisor-tap-vsock]
# Upstream spec uses conditional %autorelease (%if %{defined autorelease}), which
# auto-detection misidentifies. Force autorelease mode to preserve %autorelease in render.
[components.gvisor-tap-vsock.release]
calculation = "autorelease"
autospec = { release-calculation = "autorelease" }
2 changes: 1 addition & 1 deletion base/comps/gyp/gyp.comp.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[components.gyp]
# Release: 0.60%{?revision:.%{revision}git}%{?dist}
release = { calculation = "manual" }
autospec = { release-calculation = "manual", changelog-calculation = "manual" }
2 changes: 1 addition & 1 deletion base/comps/hunspell-se/hunspell-se.comp.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[components.hunspell-se]
# Release: 0.32.beta7%{?dist}
release = { calculation = "manual" }
autospec = { release-calculation = "manual", changelog-calculation = "manual" }
2 changes: 1 addition & 1 deletion base/comps/hunspell-smj/hunspell-smj.comp.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[components.hunspell-smj]
# Release: 0.32.beta7%{?dist}
release = { calculation = "manual" }
autospec = { release-calculation = "manual", changelog-calculation = "manual" }
2 changes: 1 addition & 1 deletion base/comps/ipxe/ipxe.comp.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[components.ipxe]
# Release: 4.git%{hash}%{?dist}
release = { calculation = "manual" }
autospec = { release-calculation = "manual", changelog-calculation = "manual" }
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[components.iscsi-initiator-utils]
# Release: 0.git%{shortcommit0}%{?dist}.2
release = { calculation = "manual" }
autospec = { release-calculation = "manual", changelog-calculation = "manual" }

# Fedora's 0104-libiscsi-build-fixes.patch hardcodes -L../redhat-linux-build in the libiscsi
# Makefile, assuming the meson build directory is named redhat-linux-build (from Fedora's
Expand Down
2 changes: 1 addition & 1 deletion base/comps/isl/isl.comp.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[components.isl]
# Release: 23%{?buildid}%{?dist}
release = { calculation = "manual" }
autospec = { release-calculation = "manual", changelog-calculation = "manual" }
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

[components.java-25-openjdk-portable]
# Release: %{?eaprefix}%{rpmrelease}%{?extraver}%{?dist}
release = { calculation = "manual" }
autospec = { release-calculation = "manual", changelog-calculation = "manual" }
spec = { type = "upstream", upstream-distro = { name = "fedora", version = "43" }, upstream-commit = "cad9d5a1ed48cf7e9e12cfadfdacc11f523d46cb" }
# Disable slowdebug variant builds; we don't ship -slowdebug subpackages.
build.without = ["slowdebug"]
Expand Down
2 changes: 1 addition & 1 deletion base/comps/java-25-openjdk/java-25-openjdk.comp.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[components.java-25-openjdk]
# Release: %{?eaprefix}%{rpmrelease}%{?extraver}%{?dist}
release = { calculation = "manual" }
autospec = { release-calculation = "manual", changelog-calculation = "manual" }
# Current java-25 build requires java-25-openjdk-portable-sources version 25.0.20.0.10.
# Fed43 portable rpm delivers 25.0.0.0.32. Fedora43 builds work with Fed42 rpm. To
# unblock our build, we pin to the last Fedora 43 commit when version was 25.0.0.0.32.
Expand Down
2 changes: 1 addition & 1 deletion base/comps/jss/jss.comp.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[components.jss]
# Release: %{release_number}%{?phase:.}%{?phase}%{?timestamp:.}%{?timestamp}%{?commit_id:.}%{?commit_id}%{?dist}
release = { calculation = "manual" }
autospec = { release-calculation = "manual", changelog-calculation = "manual" }

# AZL builds NSS 3.120+ which includes PQC auth defs (ML-DSA) in ssl_auth_size.
# JSS's SSLCipher.c has a PR_STATIC_ASSERT that auth_alg_defs[] matches ssl_auth_size,
Expand Down
2 changes: 1 addition & 1 deletion base/comps/kabi-dw/kabi-dw.comp.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[components.kabi-dw]
# Release: 0.29%{?dist}
release = { calculation = "manual" }
autospec = { release-calculation = "manual", changelog-calculation = "manual" }
2 changes: 1 addition & 1 deletion base/comps/kata-containers/kata-containers.comp.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[components.kata-containers]
# Release: 1%{?rcrel}%{?dist}
release = { calculation = "manual" }
autospec = { release-calculation = "manual", changelog-calculation = "manual" }
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[components.kdump-anaconda-addon]
# Release: 16.%{snapshotdate}git%{gitshortcommit}%{?dist}
release = { calculation = "manual" }
autospec = { release-calculation = "manual", changelog-calculation = "manual" }
18 changes: 13 additions & 5 deletions base/comps/kernel-headers/kernel-headers.comp.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,17 @@
# use Azure Linux kernel source and generate headers during build.
spec = { type = "upstream" }

# Manual release calculation required because the spec uses %{specrelease} macro
# Release: %{specrelease}
release = { calculation = "manual" }
# release-calculation = autorelease: the RPM release counter comes from rpmautospec's
# %autorelease, which the specrelease overlay below embeds into the kernel-headers release
# macro (Release: %{specrelease} -> %{kextraversion}.%autorelease). In autorelease mode
# azldev trusts the spec to emit %autorelease itself (here via the specrelease macro).
# changelog-calculation = autochangelog: the Fedora kernel-headers spec body uses
# %autochangelog, so let rpmautospec generate the changelog (unlike the full kernel,
# whose %changelog body is static).
# replay-historical-overlays: the kernel-headers version lives in overlays (%define), so
# re-apply each synthetic commit's overlays to attribute the right version per commit.
# (No truncate-upstream-history here — only the full kernel trips rpmautospec's parser.)
autospec = { release-calculation = "autorelease", changelog-calculation = "autochangelog", replay-historical-overlays = true }

# Version updates: Fedora -> Azure Linux 6.18.29.1
# Uses 3-part version (6.18.29) + kextraversion (1) scheme matching kernel.
Expand All @@ -30,9 +38,9 @@ replacement = "%define tarfile_release 6.18.29"

[[components.kernel-headers.overlays]]
type = "spec-search-replace"
description = "Set specrelease to kextraversion.azl_pkgrelease.dist so the 4th version component and package release are explicit"
description = "Set specrelease to kextraversion.%autorelease so the 4th version component flows into Release: while the RPM release counter comes from rpmautospec (release-calculation = autorelease)"
regex = "%define specrelease .+"
replacement = "%define specrelease %{kextraversion}.%{azl_pkgrelease}%{?dist}"
replacement = "%define specrelease %{kextraversion}.%autorelease"

# Build deps (Fedora's spec has none since it uses pre-built headers).
[[components.kernel-headers.overlays]]
Expand Down
21 changes: 16 additions & 5 deletions base/comps/kernel/kernel.comp.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,19 @@
[components.kernel]

# Manual release calculation required because the spec uses %{specrelease} macro
# Release: %{pkg_release}
release = { calculation = "manual" }
# release-calculation = autorelease: the RPM release counter comes from rpmautospec's
# %autorelease, which the specrelease overlay below embeds into the kernel's release macro
# (Release: %{pkg_release} -> %{specrelease} -> %{kextraversion}.%autorelease). In autorelease
# mode azldev does NOT rewrite the Release tag; it trusts the spec to produce %autorelease via
# this macro indirection. kextraversion stays as the 4th version component in Release:, uname -r,
# and the /lib/modules path.
# changelog-calculation = static: keep the spec's static %changelog (do not inject %autochangelog).
# truncate-upstream-history: rpmautospec hangs/fails walking the full kernel history
# (the %define specrpmversion macro trips its spec parser on every walked commit), so
# cut the synthetic seed commit off from its upstream parents and walk only our
# synthetic commits. Compensate with lock-file bumps to keep Release monotonic.
# replay-historical-overlays: the kernel version lives in overlays (%define specrpmversion),
# so re-apply each synthetic commit's overlays to attribute the right version per commit.
autospec = { release-calculation = "autorelease", changelog-calculation = "static", truncate-upstream-history = true, replay-historical-overlays = true }

# Skip debug kernel variant to reduce build time, and skip selftests as a
# temporary mitigation while kselftests packaging is fixed separately.
Expand Down Expand Up @@ -52,10 +63,10 @@ regex = "%define pkgrelease .+"
replacement = "%define pkgrelease %{azl_pkgrelease}"

[[components.kernel.overlays]]
description = "Set specrelease to kextraversion.azl_pkgrelease.dist so the 4th version component flows into Release:, uname -r, and /lib/modules/ path"
description = "Set specrelease to kextraversion.%autorelease so the 4th version component flows into Release:, uname -r, and the /lib/modules path, while the RPM release counter comes from rpmautospec (release-calculation = autorelease)"
type = "spec-search-replace"
regex = "%define specrelease .+"
replacement = "%define specrelease %{kextraversion}.%{azl_pkgrelease}%{?buildid}%{?dist}"
replacement = "%define specrelease %{kextraversion}.%autorelease"

# Use the AzureLinux kernel source
[[components.kernel.overlays]]
Expand Down
2 changes: 1 addition & 1 deletion base/comps/keyutils/keyutils.comp.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[components.keyutils]
# Release: 6%{?buildid}%{?dist}
release = { calculation = "manual" }
autospec = { release-calculation = "manual", changelog-calculation = "manual" }
Loading
Loading