diff --git a/shim.spec b/shim.spec index 254f7e0..b48bf88 100644 --- a/shim.spec +++ b/shim.spec @@ -1,3 +1,4 @@ +%trace # this is to make us only expand %%{dist} if we're on a modularity build. # it's 2 macros make vim's \c not put a brace at the end of the changelog. %global _dist %{expand:%{?_module_build:%%{?dist}}} @@ -5,7 +6,7 @@ Name: shim Version: 15 -Release: 4%{?dist} +Release: 3.1%{?dist} Summary: First-stage UEFI bootloader License: BSD URL: https://github.com/rhboot/shim/ @@ -30,13 +31,7 @@ Source22: shimx64.efi #Source13: BOOTARM.CSV #Source23: shimarm.efi -# is this gross? yes, this is gross. -%if 0%{?_buildhost:1} %include %{SOURCE0} -%endif -%if ! 0%{?found_macros_dot_shim} -%include %{SOURCEURL0} -%endif BuildRequires: pesign >= 0.112-20.fc27 BuildRequires: %{unsigned} = %{shimver}