From 527a2e1a7941f38d0888e42bf4d3ece948f8da03 Mon Sep 17 00:00:00 2001 From: Marcin Krol Date: Thu, 6 Feb 2014 11:18:22 +0000 Subject: [PATCH] - drop unsupported archs --- grub2.spec | 35 ++++++----------------------------- 1 file changed, 6 insertions(+), 29 deletions(-) diff --git a/grub2.spec b/grub2.spec index f0d9489..2a522db 100644 --- a/grub2.spec +++ b/grub2.spec @@ -16,7 +16,7 @@ %ifnarch %{ix86} %{x8664} %undefine with_pc %endif -%ifnarch %{ix86} %{x8664} ia64 +%ifnarch %{ix86} %{x8664} %undefine with_efi %endif @@ -26,23 +26,14 @@ %endif # the 'most natural' platform should go last -%ifarch %{ix86} %{x8664} ia64 +%ifarch %{ix86} %{x8664} %define platforms %{?with_efi:efi} %{?with_pc:pc} %endif -%ifarch ppc ppc64 sparc64 -%define platforms ieee1275 -%endif -%ifarch mips -%define platforms arc -%endif -%ifarch mipsel -%define platforms loongson -%endif Summary: GRand Unified Bootloader -Summary(de.UTF-8): GRUB2 - ein Bootloader für x86 und ppc -Summary(hu.UTF-8): GRUB2 - rendszerbetöltő x86 és ppc gépekhez -Summary(pl.UTF-8): GRUB2 - bootloader dla x86 i ppc +Summary(de.UTF-8): GRUB2 - ein Bootloader für x86 +Summary(hu.UTF-8): GRUB2 - rendszerbetöltő x86 gépekhez +Summary(pl.UTF-8): GRUB2 - bootloader dla x86 Summary(pt_BR.UTF-8): Gerenciador de inicialização GRUB2 %define beta beta2 Name: grub2 @@ -114,7 +105,7 @@ Suggests: cdrkit-mkisofs Suggests: os-prober Provides: bootloader Conflicts: grub -ExclusiveArch: %{ix86} %{x8664} ia64 mips mipsel ppc ppc64 sparc64 +ExclusiveArch: %{ix86} %{x8664} BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %define _sbindir /sbin @@ -384,9 +375,7 @@ rm -f $RPM_BUILD_ROOT%{_infodir}/dir %ifnarch %{ix86} %{x8664} %{__rm} $RPM_BUILD_ROOT{%{_sbindir}/grub-bios-setup,%{_mandir}/man8/grub-bios-setup.8} %endif -%ifnarch sparc64 %{__rm} $RPM_BUILD_ROOT{%{_sbindir}/grub-sparc64-setup,%{_mandir}/man8/grub-sparc64-setup.8} -%endif # core.img - bootable image generated by grub-mkimage(1) via grub-install(1) touch $RPM_BUILD_ROOT%{_grubdir}/core.img @@ -461,10 +450,6 @@ fi %attr(755,root,root) %{_sbindir}/grub-probe %{_mandir}/man8/grub-probe.8* %endif -%ifarch sparc64 -%attr(755,root,root) %{_sbindir}/grub-sparc64-setup -%{_mandir}/man8/grub-sparc64-setup.8* -%endif %{_mandir}/man1/grub-editenv.1* %{_mandir}/man1/grub-file.1* %{_mandir}/man1/grub-fstest.1* @@ -549,14 +534,6 @@ fi %{_libexecdir}/*-pc/efiemu*.o %endif %{_libexecdir}/*-pc/kernel.img -%ifarch %{ix86} %{x8664} sparc sparc64 -%{_libexecdir}/*-pc/boot.img -%{_libexecdir}/*-pc/boot_hybrid.img -%{_libexecdir}/*-pc/cdboot.img -%{_libexecdir}/*-pc/diskboot.img -%{_libexecdir}/*-pc/lnxboot.img -%{_libexecdir}/*-pc/pxeboot.img -%endif %endif %if %{with efi} -- 2.44.0