still working on this...

This commit is contained in:
Peter Jones 2018-05-04 10:30:18 -04:00
parent 35825dbe33
commit 74e692706d

View File

@ -23,21 +23,23 @@
%global shimdirx64 %{_datadir}/shim/%{shimverx64}/x64 %global shimdirx64 %{_datadir}/shim/%{shimverx64}/x64
#%%global shimdirarm %%{_datadir}/shim/%%{shimverarm}/arm #%%global shimdirarm %%{_datadir}/shim/%%{shimverarm}/arm
%{expand: %global bootcsv %{expand:%{bootcsv%{efi_arch}}}
%%global bootcsv %%{expand:%%{bootcsv%%{efi_arch}}} %global bootcsvalt %{expand:%{bootcsv%{?efi_alt_arch}}}
%%global bootcsvalt %%{expand:%%{bootcsv%%{?efi_alt_arch}}} %global shimefi %{expand:%{shimefi%{efi_arch}}}
%%global shimefi %%{expand:%%{shimefi%%{efi_arch}}} %global shimefialt %{expand:%{shimefi%{?efi_alt_arch}}}
%%global shimefialt %%{expand:%%{shimefi%%{?efi_alt_arch}}} %global shimver %{expand:%{shimver%{efi_arch}}}
%%global shimver %%{expand:%%{shimver%%{efi_arch}}} %global shimveralt %{expand:%{shimver%{?efi_alt_arch}}}
%%global shimveralt %%{expand:%%{shimver%%{?efi_alt_arch}}} %global shimdir %{expand:%{shimdir%{efi_arch}}}
%%global shimdir %%{expand:%%{shimdir%%{efi_arch}}} %global shimdiralt %{expand:%{shimdir%{?efi_alt_arch}}}
%%global shimdiralt %%{expand:%%{shimdir%%{?efi_alt_arch}}}
%%global unsigned%{efi_arch} %{efi_arch} %ifarch aarch64
%%global unsignedaa64 aarch64 %global unsignedarch aarch64
%%global unsigned shim-unsigned-%%{expand:%%{unsigned%{efi_arch}}} %else
%%global unsignedalt shim-unsigned-%{?efi_alt_arch} %global unsignedarch %{efi_arch}
} %endif
%global unsignedarchalt %{?efi_alt_arch}%{nil}
%global unsigned shim-unsigned-%{?unsignedarch}%{nil}
%global unsignedalt shim-unsigned-%{?unsignedarchalt}%{nil}
%define define_pkg(a:p:) \ %define define_pkg(a:p:) \
%{expand:%%package -n shim-%{-a*}} \ %{expand:%%package -n shim-%{-a*}} \
@ -161,10 +163,8 @@ install -m 0700 fb%{-a*}.efi \\\
%global provide_legacy_shim 0 %global provide_legacy_shim 0
%endif %endif
%global found_macros_dot_shim 1
%if ! 0%{?vendor:1} %if ! 0%{?vendor:1}
%global vendor nopenopenope %global vendor nopenopenope
%endif %endif
# filetype:spec # vim:filetype=spec