diff options
author | Stefano Brivio <sbrivio@redhat.com> | 2022-09-06 23:02:01 +0200 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2022-09-07 11:01:22 +0200 |
commit | e2cae8f1c3651b1237a3042b4ba6211155aa58f1 (patch) | |
tree | 2f72caac8da94e5a56389025f844fda4cfd756d3 | |
parent | e5e10aff8179b5f410b4e2fe7923303fd183fc75 (diff) | |
download | passt-e2cae8f1c3651b1237a3042b4ba6211155aa58f1.tar passt-e2cae8f1c3651b1237a3042b4ba6211155aa58f1.tar.gz passt-e2cae8f1c3651b1237a3042b4ba6211155aa58f1.tar.bz2 passt-e2cae8f1c3651b1237a3042b4ba6211155aa58f1.tar.lz passt-e2cae8f1c3651b1237a3042b4ba6211155aa58f1.tar.xz passt-e2cae8f1c3651b1237a3042b4ba6211155aa58f1.tar.zst passt-e2cae8f1c3651b1237a3042b4ba6211155aa58f1.zip |
fedora: Escape % characters in spec file's changelog2022_09_06.e2cae8f
...rpmbuild otherwise expands valid macro names in changelog entries.
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
-rw-r--r-- | contrib/fedora/rpkg.macros | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/fedora/rpkg.macros b/contrib/fedora/rpkg.macros index df9dfc5..06359ab 100644 --- a/contrib/fedora/rpkg.macros +++ b/contrib/fedora/rpkg.macros @@ -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 |