|
|
@ -35,7 +35,8 @@ rm -rf %{buildroot}
|
|
|
|
mkdir -p %{buildroot}/%{_libdir}
|
|
|
|
mkdir -p %{buildroot}/%{_libdir}
|
|
|
|
make LIBDIR=%{_libdir} INSTALLROOT=%{buildroot} DATADIR=%{_datadir} \
|
|
|
|
make LIBDIR=%{_libdir} INSTALLROOT=%{buildroot} DATADIR=%{_datadir} \
|
|
|
|
install
|
|
|
|
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
|
|
|
|
%clean
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
rm -rf %{buildroot}
|
|
|
|