Created attachment 1507039 [details]
Proposed fix for misquote in pesign rpm macro
Description of problem:
I found this bug when trying to compile my own signed kernel. When specifying pe_signing_cert , the macro has a syntax error in it.
Version-Release number of selected component (if applicable):
# dnf info pesign
Name : pesign
Version : 0.112
Release : 22.fc28
Arch : x86_64
Size : 1.0 M
Source : pesign-0.112-22.fc28.src.rpm
Repo : @System
From repo : fedora
Summary : Signing utility for UEFI binaries
URL : https://github.com/vathpela/pesign
License : GPLv2
Description : This package contains the pesign utility for signing UEFI binaries as
: well as other associated tools.
Steps to Reproduce:
Add %define pe_signing_cert in kernel.spec (might work as instructed in the rpm macro itself but I have not tested because I build with mock: rpmbuild --define "pe_signing_cert signing key for test2" -ba ...)
Kernel built with specified key
See attachment for proposed fix
I pushed a fix to dist-git. Please build the package.