|
|
|
@ -35,7 +35,8 @@ rm -rf %{buildroot}
|
|
|
|
|
mkdir -p %{buildroot}/%{_libdir}
|
|
|
|
|
make LIBDIR=%{_libdir} INSTALLROOT=%{buildroot} DATADIR=%{_datadir} \
|
|
|
|
|
install
|
|
|
|
|
%pesign -s -i %{buildroot}/%{_datadir}/%{name}-%{version}/%{name}.efi -o %{buildroot}/%{_datadir}/%{name}-%{version}/%{name}-signed.efi
|
|
|
|
|
cp %{name}.efi %{name}-unsigned.efi
|
|
|
|
|
%pesign -s -i %{name}-unsigned.efi -o %{buildroot}/%{_datadir}/%{name}-%{version}/%{name}-signed.efi
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|