From ea049f37c98eadf65e11713183ed7647858bc0f96d4b840d70dc42eac53079b6 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Wed, 4 Jan 2012 06:23:56 +0000 Subject: [PATCH] Accepting request 98514 from devel:openSUSE:Factory platforms without efi should not specify exclusion of it (forwarded request 98511 from michael-chang) OBS-URL: https://build.opensuse.org/request/show/98514 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/grub2?expand=0&rev=28 --- grub2.changes | 5 +++++ grub2.spec | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/grub2.changes b/grub2.changes index ed0cbaa..4af4672 100644 --- a/grub2.changes +++ b/grub2.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Jan 2 03:16:13 UTC 2012 - mchang@suse.com + +- platforms without efi should not specify exclusion of it + ------------------------------------------------------------------- Thu Dec 29 02:31:23 UTC 2011 - mchang@suse.com diff --git a/grub2.spec b/grub2.spec index 44a2e18..67e64ba 100644 --- a/grub2.spec +++ b/grub2.spec @@ -280,9 +280,13 @@ fi %{_libdir}/%{name} %{_libdir}/grub/ %{_sbindir}/%{name}-* +%ifarch %{efi} %exclude %{_sbindir}/grub2-efi-* +%endif %{_bindir}/%{name}-* +%ifarch %{efi} %exclude %{_bindir}/%{name}-efi-* +%endif %{_sysconfdir}/bash_completion.d/grub %config %{_sysconfdir}/default/grub %dir %{_sysconfdir}/grub.d