From f87b11c7be735d9d8d5267ae575d890b4226fb02 Mon Sep 17 00:00:00 2001 From: Stefano Brivio Date: Fri, 26 Jul 2024 16:40:41 +0200 Subject: fedora/rpkg: List myself as author for changelog entries ...instead of the latest author for contrib/fedora. Signed-off-by: Stefano Brivio --- contrib/fedora/rpkg.macros | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'contrib/fedora') diff --git a/contrib/fedora/rpkg.macros b/contrib/fedora/rpkg.macros index c226c84..c98b791 100644 --- a/contrib/fedora/rpkg.macros +++ b/contrib/fedora/rpkg.macros @@ -29,7 +29,11 @@ function passt_git_changelog_entry { [ -z "${__from}" ] && __from="$(git rev-list --max-parents=0 HEAD)" __date="$(git log --pretty="format:%cI" "${__to}" -1)" - __author="$(git log -1 --pretty="format:%an <%ae>" ${__to} -- contrib/fedora)" + __author="Stefano Brivio " + # Use: + # __author="$(git log -1 --pretty="format:%an <%ae>" ${__to} -- contrib/fedora)" + # if you want the author of changelog entries to match the latest + # author for contrib/fedora printf "* %s %s - %s\n" "$(date "+%a %b %e %Y" -d "${__date}")" "${__author}" "$(git_version "${__to}")-1" -- cgit v1.2.3