See the copr build failure
I tried to reproduce locally in f34 podman container, and it behaves the same way:
[praiskup@0ba8546ad05e tmp]$ rpkg srpm --outdir /tmp/ --spec /tmp/jjj/ /bin/bash: -c: line 1: syntax error near unexpected token `;' /bin/bash: -c: line 1: `. /usr/lib/python3.9/site-packages/rpkglib/preproc/setup; ;' failed with value 2 [praiskup@0ba8546ad05e tmp]$ rpkg srpm --outdir /tmp/ --spec /tmp/jjj/rpkg-util.spec /bin/bash: -c: line 1: syntax error near unexpected token `;' /bin/bash: -c: line 1: `. /usr/lib/python3.9/site-packages/rpkglib/preproc/setup; ;' failed with value 2
Hello,
It's because of this line: https://src.fedoraproject.org/rpms/rpkg-util/blob/c4d2e8bbdcedbf8c7450855a5b805267c4fb9cd2/f/rpkg-util.spec#_250
I replaced {{{}}} in changelog with just "brace triplets" in the https://src.fedoraproject.org/rpms/rpkg-util/tree/34e7b07a8cb39bd454eae35be00aa61cd62f052e
{{{}}}
Thanks! Suggestion: It would be nice to provide a bit more useful error. Otherwise, it seems it is just fine from our perspective, and this can be closed.
Yes, that's true. Behavior is different for v3 where it renders empty string.
Metadata Update from @clime: - Issue status updated to: Closed (was: Open)
This issue has been migrated to GitHub: https://github.com/fedora-copr/rpkg-util/issues/33 Don't forget to subscribe for notifications about new comments.