1
0
Fork 0
mirror of https://passt.top/passt synced 2025-06-16 20:35:33 +02:00

fedora: Change source URL to HEAD link with explicit commit SHA

This is required as Fedora doesn't accept a temporary pointer to
a source URL.

Reported-by: Ralf Corsepius <rc040203@freenet.de>
Reported-by: Artur Frenszek-Iwicki <fedora@svgames.pl>
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
This commit is contained in:
Stefano Brivio 2022-08-18 21:04:24 +02:00
parent 31031d20e2
commit ebf9009361
2 changed files with 6 additions and 2 deletions
contrib/fedora

View file

@ -15,6 +15,10 @@ function git_version {
printf "0.git.%s.%s" "$(date -u -I | tr - _)" "$(git rev-parse --short HEAD)"
}
function git_head {
git rev-parse HEAD
}
function passt_git_changelog_entry {
__from="${2}"
__to="${1}"