SHA256
1
0
forked from pool/grub2

Autobuild autoformatter for 77679

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/grub2?expand=0&rev=19
This commit is contained in:
Sascha Peilicke 2011-08-02 14:45:21 +00:00 committed by Git OBS Bridge
parent 213436e0da
commit 0d1923d06e

View File

@ -41,7 +41,7 @@ BuildRequires: bison device-mapper-devel flex lzma ruby xz
%define platform pc
%endif
Version: 1.99
Release: 2
Release: 4
Summary: Bootloader with support for Linux, Multiboot and more
Group: System/Boot
License: GPLv3+
@ -68,7 +68,6 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
# TODO: ppc
ExclusiveArch: %{ix86} x86_64 ppc ppc64
%description
This is the second version of the GRUB (Grand Unified Bootloader),
a highly configurable and customizable bootloader with modular
@ -95,7 +94,6 @@ sed -i 's,grub.texi,grub2.texi,' docs/Makefile.am
# README.openSUSE
cp %{SOURCE3} .
%build
#./autogen.sh
@ -114,7 +112,6 @@ export CFLAGS CXXFLAGS FFLAGS
make %{?_smp_mflags}
%install
make DESTDIR=$RPM_BUILD_ROOT install
@ -133,7 +130,6 @@ rm $RPM_BUILD_ROOT/%{_libdir}/%{name}/*/*.h
install -m 644 -D %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/default/grub
%find_lang grub
%post
/sbin/install-info %{_infodir}/grub-dev.info %{_infodir}/dir || :
/sbin/install-info %{_infodir}/%{name}.info %{_infodir}/dir || :
@ -157,7 +153,6 @@ if [ -e /boot/%{name}/device.map ]; then
/sbin/update-bootloader --refresh || true
fi
%preun
if [ $1 = 0 ]; then
/sbin/install-info --delete %{_infodir}/grub-dev.info %{_infodir}/dir || :
@ -174,7 +169,6 @@ if [ $1 = 0 ]; then
rm -f /boot/%{name}/device.map
fi
%files -f grub.lang
%defattr(-,root,root,-)
%{_libdir}/%{name}
@ -195,6 +189,4 @@ fi
%{_infodir}/grub-dev.info*
%{_infodir}/%{name}.info*
%changelog