|
|
|
@ -1,16 +1,10 @@
@@ -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
@@ -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
@@ -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} |
|
|
|
|