Summary(pt_BR.UTF-8): Gerenciador de inicialização GRUB2
Name: grub2
Version: 2.00
-Release: 0.6
+Release: 0.7
License: GPL v2
Group: Base
Source0: http://ftp.gnu.org/gnu/grub/grub-%{version}.tar.xz
Patch17: fix-http-crash.patch
Patch18: Issue-separate-DNS-queries-for-ipv4-and-ipv6.patch
Patch19: search-for-specific-config-file-for-netboot.patch
+Patch20: ignore-kernel-symlinks.patch
URL: http://www.gnu.org/software/grub/
BuildRequires: autoconf >= 2.53
BuildRequires: automake >= 1:1.11.1-1
# part of grub code is not relocable (these are not Linux libs)
# stack protector also breaks non-Linux binaries
-%define filterout_c -fPIC
+%define filterout_c -fPIC
%undefine _ssp_cflags
%description
%patch17 -p1
%patch18 -p1
%patch19 -p1
+%patch20 -p1
%if "%{cc_version}" < "3.4"
grep -rl -- -Wno-missing-field-initializers . | xargs %{__sed} -i -e 's,-Wno-missing-field-initializers,,'
--- /dev/null
+--- grub-2.00/util/grub-mkconfig_lib.in~ 2013-04-15 00:03:09.102253190 +0200
++++ grub-2.00/util/grub-mkconfig_lib.in 2013-04-15 00:54:39.189605003 +0200
+@@ -174,6 +174,9 @@
+
+ grub_file_is_not_garbage ()
+ {
++ if test -L "$1" ; then
++ return 1
++ fi
+ if test -f "$1" ; then
+ case "$1" in
+ *.dpkg-*) return 1 ;; # debian dpkg