More i686 fixes.

Signed-off-by: Peter Jones <pjones@redhat.com>
This commit is contained in:
Peter Jones 2014-04-09 10:16:54 -04:00
parent cf3072fad9
commit 22864b1461

View File

@ -18,9 +18,11 @@ BuildRequires: libuuid-devel
Requires: syslinux-nonlinux = %{version}-%{release} Requires: syslinux-nonlinux = %{version}-%{release}
%ifarch %{ix86} %ifarch %{ix86}
Requires: mtools, libc.so.6 Requires: mtools, libc.so.6
BuildRequires: mingw32-gcc
%endif %endif
%ifarch x86_64 %ifarch x86_64
Requires: mtools, libc.so.6()(64bit) Requires: mtools, libc.so.6()(64bit)
BuildRequires: mingw64-gcc
%endif %endif
# NOTE: extlinux belongs in /sbin, not in /usr/sbin, since it is typically # NOTE: extlinux belongs in /sbin, not in /usr/sbin, since it is typically
@ -164,6 +166,11 @@ rm -rf %{buildroot}
%dir %{_datadir}/syslinux/dosutil %dir %{_datadir}/syslinux/dosutil
%{_datadir}/syslinux/dosutil/* %{_datadir}/syslinux/dosutil/*
%{_datadir}/syslinux/diag/* %{_datadir}/syslinux/diag/*
%ifarch %{ix86}
%{_datadir}/syslinux/syslinux.exe
%else
%{_datadir}/syslinux/syslinux64.exe
%endif
%files perl %files perl
%defattr(-,root,root) %defattr(-,root,root)