From 3619a3f5457d13a74d6ca03e51fbd6aa627e1bb5 Mon Sep 17 00:00:00 2001 From: Peter Jones Date: Thu, 17 Aug 2017 12:48:25 -0400 Subject: [PATCH] Simplify some of the macros a bit. Signed-off-by: Peter Jones --- grub.macros | 18 +----------------- grub2.spec | 19 ++++++++++++++----- 2 files changed, 15 insertions(+), 22 deletions(-) diff --git a/grub.macros b/grub.macros index b4c1877..86bca62 100644 --- a/grub.macros +++ b/grub.macros @@ -6,6 +6,7 @@ %{expand:%%{!?buildsubdir:%%global buildsubdir grub-%{tarversion}}} %{expand:%%{!?_licensedir:%%global license %%%%doc}} +%global _configure ../configure %if %{?_with_ccache: 1}%{?!_with_ccache: 0} %global cc_equals CC=/usr/%{_lib}/ccache/gcc @@ -251,23 +252,6 @@ git commit -a -q -m "%{tarversion} baseline." \ git am %%{patches}