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 3c67c6e450
commit c297740442

View File

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