From 86a6bfac65fbb51e8186549023af233971561b9b Mon Sep 17 00:00:00 2001 From: Peter Jones Date: Mon, 13 Jul 2020 16:15:58 -0400 Subject: [PATCH] Test builders again Signed-off-by: Peter Jones --- pesign-test-app.spec | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/pesign-test-app.spec b/pesign-test-app.spec index f0782e9..6663980 100644 --- a/pesign-test-app.spec +++ b/pesign-test-app.spec @@ -1,7 +1,7 @@ Summary: Simple pesign test target Name: pesign-test-app Version: 5 -Release: 19%{?dist} +Release: 20%{?dist} License: GPLv2 URL: https://github.com/vathpela/pesign-test-app BuildRequires: gcc @@ -47,14 +47,16 @@ getfacl /run/pesign || : ls -l /run/pesign/socket || : getfacl /run/pesign/socket || : -%pesign -s -i %{name}-unsigned.efi -o %{name}-signed.efi +%pesign -s -i %{name}-unsigned.efi -o %{name}-signed.0.efi +%define pe_signing_cert "/CN=fwupd-signer" +%pesign -s -i %{name}-unsigned.efi -o %{name}-signed.1.efi -n "/CN=fwupd-signer" %install rm -rf %{buildroot} mkdir -p %{buildroot}/%{_libdir} make LIBDIR=%{_libdir} INSTALLROOT=%{buildroot} DATADIR=%{_datadir} \ install -mv %{name}-signed.efi %{buildroot}/%{_datadir}/%{name}-%{version}/%{name}-signed.efi +mv %{name}-signed*.efi %{buildroot}/%{_datadir}/%{name}-%{version}/ %check ls -la /var/run/pesign || : @@ -70,9 +72,12 @@ pesign -l -i %{buildroot}/%{_datadir}/%{name}-%{version}/%{name}-signed.efi | gr %doc README COPYING %dir %{_datadir}/%{name}-%{version} %{_datadir}/%{name}-%{version}/%{name}.efi -%{_datadir}/%{name}-%{version}/%{name}-signed.efi +%{_datadir}/%{name}-%{version}/%{name}-signed*.efi %changelog +* Mon Jul 13 2020 Peter Jones - 5-20 +- Test builders again + * Tue Jul 07 2020 Peter Jones - 5-19 - Make sure this still works with pesign-113-8~1.fc33