Skip to content

redhat: create an empty changelog file when changing its name

Bugzilla: INTERNAL Upstream Status: RHEL only ARK commits: 62e43932298b, 9be0f5f3edfb, d5862d7fec0a

Up until now, if we rename the spec package name or bump the rhel major or minor versions, we used to copy the previous changelog file if it exists into the new one. However, this makes the changelog grow indefinitely since a stream start, and it starts to get very big. We do not need to keep the entire history at each new changelog file, because eg. in a stream life, we always keep the older changelog files in the git tree.

The 3 patches here changes the code to always create an empty changelog file at each new minor or major stream start, cleans up the current changelog files in the centos/rhel9 source git tree, and provides a full changelog file in src.rpm and in the kernel-doc package. More details are described in each of the changes.

Signed-off-by: Herton R. Krzesinski herton@redhat.com

Edited by Herton R. Krzesinski

Merge request reports