aboutgitcodebugslistschat
path: root/contrib
diff options
context:
space:
mode:
authorStefano Brivio <sbrivio@redhat.com>2024-07-26 16:40:41 +0200
committerStefano Brivio <sbrivio@redhat.com>2024-07-26 16:40:41 +0200
commitf87b11c7be735d9d8d5267ae575d890b4226fb02 (patch)
tree322f50312ee5764f558d81d0f25ddfd7c4663e31 /contrib
parent57a21d2df1467302dee71ee9d5683a8b96e6ce7f (diff)
downloadpasst-f87b11c7be735d9d8d5267ae575d890b4226fb02.tar
passt-f87b11c7be735d9d8d5267ae575d890b4226fb02.tar.gz
passt-f87b11c7be735d9d8d5267ae575d890b4226fb02.tar.bz2
passt-f87b11c7be735d9d8d5267ae575d890b4226fb02.tar.lz
passt-f87b11c7be735d9d8d5267ae575d890b4226fb02.tar.xz
passt-f87b11c7be735d9d8d5267ae575d890b4226fb02.tar.zst
passt-f87b11c7be735d9d8d5267ae575d890b4226fb02.zip
fedora/rpkg: List myself as author for changelog entries
...instead of the latest author for contrib/fedora. Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'contrib')
-rw-r--r--contrib/fedora/rpkg.macros6
1 files changed, 5 insertions, 1 deletions
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 <sbrivio@redhat.com>"
+ # 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"