diff --git a/pesign-test-app.spec b/pesign-test-app.spec index 6a8c62d..bd789ee 100644 --- a/pesign-test-app.spec +++ b/pesign-test-app.spec @@ -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