patch info pages so they can be installed and removed correctly when renamed

This commit is contained in:
Mads Kiilerich 2011-10-27 17:08:58 +02:00 committed by Peter Jones
parent 1068837011
commit ee18b8d4c1

View file

@ -150,6 +150,12 @@ PLATFORM=pc
make %{?_smp_mflags} make %{?_smp_mflags}
sed -i -e 's,(grub),(%{name}),g' \
-e 's,grub.info,%{name}.info,g' \
-e 's,\* GRUB:,* GRUB2:,g' \
docs/grub.info
sed -i -e 's,grub-dev,%{name}-dev,g' docs/grub-dev.info
%install %install
set -e set -e
rm -fr $RPM_BUILD_ROOT rm -fr $RPM_BUILD_ROOT