Build with gcc34 for F9 (#437701)

This commit is contained in:
Warren Togami 2008-04-03 21:11:32 +00:00
parent 433f422925
commit 514531922e

View File

@ -6,7 +6,7 @@
Summary: Stand-alone memory tester for x86 and x86-64 computers
Name: memtest86+
Version: 2.01
Release: 2%{?dist}
Release: 3%{?dist}
License: GPLv2
ExclusiveArch: %{ix86} x86_64
Group: System Environment/Base
@ -17,6 +17,7 @@ Source2: memtest-setup
Requires(preun): coreutils
# require glibc-devel.i386 via this file:
BuildRequires: %{_includedir}/gnu/stubs-32.h
BuildRequires: compat-gcc-34
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@ -34,7 +35,7 @@ Run 'memtest-setup' to add to your GRUB or lilo boot menu.
%build
# Regular build flags not wanted for this binary
# Note: i486 minimum runtime arch
make
make CC=gcc34
# It makes no sense to use smp flags here.
%install
@ -62,6 +63,9 @@ rm -rf $RPM_BUILD_ROOT
/sbin/new-memtest-pkg --remove %{version}
%changelog
* Thu Apr 03 2008 Warren Togami <wtogami@redhat.com> - 2.01-3
- Build with gcc34 for F9 (#437701)
* Tue Mar 04 2008 Peter Jones <pjones@redhat.com> - 2.01-2
- Don't install memtest86+ in bootloader configs on EFI platforms.