Test builders again

Signed-off-by: Peter Jones <pjones@redhat.com>
rawhide
Peter Jones 4 years ago
parent c52539c166
commit 86a6bfac65

@ -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 <pjones@redhat.com> - 5-20
- Test builders again
* Tue Jul 07 2020 Peter Jones <pjones@redhat.com> - 5-19
- Make sure this still works with pesign-113-8~1.fc33

Loading…
Cancel
Save