From 05a11f9c1d24170703e8ff77698988d6430c653a Mon Sep 17 00:00:00 2001 From: basebuilder_pel7x64builder0 Date: Wed, 19 Aug 2020 21:09:21 +0200 Subject: [PATCH] grub2 powerel changes Signed-off-by: basebuilder_pel7x64builder0 --- SPECS/grub2.spec | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/SPECS/grub2.spec b/SPECS/grub2.spec index b5e268cf..f0691cbd 100644 --- a/SPECS/grub2.spec +++ b/SPECS/grub2.spec @@ -1,16 +1,10 @@ %undefine _hardened_build -%global flagday 1:2.02-0.76.el7.centos.1 +%global flagday 1:2.02-0.76.pel7 %global tarversion 2.02~beta2 %undefine _missing_build_ids_terminate_build -%ifarch i686 -%define platform pc -%define legacy_package_arch i386 -%define legacy_target_cpu_name i386 -%define target_cpu_name i386 -%endif %ifarch x86_64 -%define mock 1 +%define mock 0 %endif Name: grub2 @@ -41,7 +35,7 @@ BuildRequires: flex bison binutils python BuildRequires: ncurses-devel xz-devel bzip2-devel BuildRequires: freetype-devel libusb-devel BuildRequires: rpm-devel rpm-libs -%ifarch %{sparc} aarch64 ppc64le +%ifarch %{sparc} aarch64 ppc64le ppc64 # sparc builds need 64 bit glibc-devel - also for 32 bit userland BuildRequires: /usr/lib64/crt1.o glibc-static glibc-devel %else @@ -63,9 +57,7 @@ BuildRequires: pesign >= 0.99-8 %if %{?_with_ccache: 1}%{?!_with_ccache: 0} BuildRequires: ccache %endif -%if 0%{?centos} -%global efidir centos -%endif +%global efidir powerel ExcludeArch: s390 s390x %{arm} Obsoletes: %{name} <= %{flagday}