fedora: Escape % characters in spec file's changelog
...rpmbuild otherwise expands valid macro names in changelog entries. Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
This commit is contained in:
parent
e5e10aff81
commit
e2cae8f1c3
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ function passt_git_changelog_entry {
|
|||
IFS='
|
||||
'
|
||||
for l in $(git log ${__from}..${__to} --pretty=format:"- %s" -- contrib/fedora); do
|
||||
printf "%s%s\n" '-' "${l#*:}"
|
||||
printf "%s%s\n" '-' "${l#*:}" | sed s/%/%%/g
|
||||
done
|
||||
unset IFS
|
||||
|
||||
|
|
Loading…
Reference in a new issue