From 1404d11c7b01bf22fe4e275976bc5fc9a9a4b36a Mon Sep 17 00:00:00 2001 From: Peter Jones Date: Mon, 14 Aug 2017 11:31:24 -0400 Subject: [PATCH] Try this again. Signed-off-by: Peter Jones --- pesign-test-app.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/pesign-test-app.spec b/pesign-test-app.spec index ba401a2..7d3ad22 100644 --- a/pesign-test-app.spec +++ b/pesign-test-app.spec @@ -1,7 +1,9 @@ +%trace + Summary: Simple pesign test target Name: pesign-test-app Version: 5 -Release: 4%{?dist} +Release: 5%{?dist} Group: Development/System License: GPLv2 URL: https://github.com/vathpela/pesign-test-app @@ -30,6 +32,7 @@ deployments of new pesign versions into build infrastructure have succeeded. %build make LIBDIR=%{_libdir} DATADIR=%{_datadir} cp %{name}.efi %{name}-unsigned.efi +%dump %pesign -s -i %{name}-unsigned.efi -o %{name}-signed.efi %install @@ -40,6 +43,7 @@ make LIBDIR=%{_libdir} INSTALLROOT=%{buildroot} DATADIR=%{_datadir} \ mv %{name}-signed.efi %{buildroot}/%{_datadir}/%{name}-%{version}/%{name}-signed.efi %check +ls -la /var/run/pesign || : %ifarch x86_64 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$' @@ -56,6 +60,9 @@ rm -rf %{buildroot} %{_datadir}/%{name}-%{version}/%{name}-signed.efi %changelog +* Mon Aug 14 2017 Peter Jones - 5-5 +- Try this again. + * Thu Aug 03 2017 Fedora Release Engineering - 5-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild