diff --git a/sdljava.spec b/sdljava.spec index 2e72714..db2de9b 100644 --- a/sdljava.spec +++ b/sdljava.spec @@ -7,7 +7,7 @@ Name: sdljava Version: 0.9.1 -Release: 21%{?dist} +Release: 22%{?dist} Summary: Java binding to the SDL API Group: System Environment/Libraries License: LGPLv2+ @@ -111,6 +111,13 @@ export ARCH_DEFINE="-D__powerpc__ -D__powerpc64__ -D__LONG_DOUBLE_128__" %ifarch %{ix86} export ARCH_DEFINE="-D__i386__" %endif +# arm also needs a bunch of special defines +%ifarch %{arm} +export ARCH_DEFINE="-D__arm__ -D__ARMEL__ -D__ARM_EABI__" +%ifnarch armv5tel +export ARCH_DEFINE="$ARCH_DEFINE -D__ARM_PCS_VFP" +%endif +%endif # All other archs if [ -z "$ARCH_DEFINE" ]; then export ARCH_DEFINE="-D__%{_arch}__" @@ -194,6 +201,9 @@ ln -s ../../fonts/dejavu/DejaVuSans-BoldOblique.ttf \ %changelog +* Sun Mar 24 2013 Hans de Goede - 0.9.1-22 +- Fix FTBFS on ARM (rhbz#893157) + * Thu Feb 14 2013 Fedora Release Engineering - 0.9.1-21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild