Move mads' sed to a patch so it doesn't clutter up the git diff.

This commit is contained in:
Peter Jones 2012-05-10 16:34:23 -04:00
parent d2db31fb17
commit bf52e4d95b
2 changed files with 26 additions and 3 deletions

View File

@ -0,0 +1,25 @@
From e3c5e7e3accaced35b3e3ee367068d14bbce91bf Mon Sep 17 00:00:00 2001
From: Peter Jones <pjones@redhat.com>
Date: Thu, 10 May 2012 16:31:29 -0400
Subject: [PATCH] Specifying .png in @image doesn't work - leaving it out
---
docs/grub-dev.texi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/grub-dev.texi b/docs/grub-dev.texi
index 51b4787..ddde5e9 100644
--- a/docs/grub-dev.texi
+++ b/docs/grub-dev.texi
@@ -1689,7 +1689,7 @@ right edges of two adjacent glyphs. The @strong{device width} field determines
the effective leading value that is used to render the font.
@end itemize
-@image{font_char_metrics,,,,.png}
+@image{font_char_metrics,,,,}
An illustration of how the various font metrics apply to characters.
--
1.7.10.1

View File

@ -40,6 +40,7 @@ Patch3: grub2-handle-initramfs-on-xen.patch
Patch4: grub-1.99-Fix-tests-of-zeroed-partition.patch Patch4: grub-1.99-Fix-tests-of-zeroed-partition.patch
Patch5: grub-1.99-ppc-terminfo.patch Patch5: grub-1.99-ppc-terminfo.patch
Patch7: grub-2.00~beta4-add-support-for-PowerMac-HFS-partitions.patch Patch7: grub-2.00~beta4-add-support-for-PowerMac-HFS-partitions.patch
Patch8: grub2-2.0-no-png-in-texi.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@ -109,9 +110,6 @@ git add .
git commit -a -q -m "%{tarversion} baseline." git commit -a -q -m "%{tarversion} baseline."
git am %{patches} git am %{patches}
# Specifying .png in @image doesn't work - leaving it out
sed -i 's,\.png,,g' docs/grub-dev.texi
%build %build
%ifarch %{efi} %ifarch %{efi}
cd grub-efi-%{tarversion} cd grub-efi-%{tarversion}