Build again

Signed-off-by: Peter Jones <pjones@redhat.com>
rawhide
Peter Jones 4 years ago
parent 6160c88b4e
commit 36fe3930e1

@ -55,7 +55,10 @@ mv %{name}-signed.efi %{buildroot}/%{_datadir}/%{name}-%{version}/%{name}-signed
%check
ls -la /var/run/pesign || :
%ifarch x86_64
%ifarch %{x86}
# for display in the build log
pesign -l -i %{buildroot}/%{_datadir}/%{name}-%{version}/%{name}-signed.efi
# to test the actual output
pesign -l -i %{buildroot}/%{_datadir}/%{name}-%{version}/%{name}-signed.efi | grep -c -q "^Signing time: $(date +%%a\ %%b\ %%d,\ %%Y)$"
pesign -l -i %{buildroot}/%{_datadir}/%{name}-%{version}/%{name}-signed.efi | grep -c -q '^The signer.s common name is Fedora Secure Boot Signer$'
%endif

Loading…
Cancel
Save