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