diff --git a/sdljava.spec b/sdljava.spec index ed27e1e..96589f5 100644 --- a/sdljava.spec +++ b/sdljava.spec @@ -7,7 +7,7 @@ Name: sdljava Version: 0.9.1 -Release: 56%{?dist} +Release: 57%{?dist} Summary: Java binding to the SDL API License: LGPLv2+ URL: http://sdljava.sourceforge.net/ @@ -38,6 +38,8 @@ BuildRequires: %{_bindir}/ruby BuildRequires: rubygems # To generate the replacement font symlinks for the sdljava-demo testdata BuildRequires: font(dejavusans) fontconfig +# sdljava provides java bindings for SDL, so it can only run on java_arches +ExclusiveArch: %{java_arches} Requires: java Requires: javapackages-filesystem @@ -71,10 +73,7 @@ Demonstrations and samples for %{name}. %prep -%setup -q -%patch0 -p1 -z .regen -%patch1 -p1 -%patch2 -p1 +%autosetup -p1 find -name '*.jar' -or -name '*.class' -or -name '*.bat' -name '*.so' -delete rm -r etc/build/gljava/windows etc/build/windows @@ -216,6 +215,10 @@ ln -s $(fc-match -f "%{file}" "sans:bold:italic") \ %changelog +* Sat Jul 16 2022 Hans de Goede - 0.9.1-57 +- sdljava provides java bindings for SDL and the JDK is no longer + build on i686, disable i686 builds (rhbz#2104100) + * Thu Feb 10 2022 Orion Poplawski - 0.9.1-56 - Rebuild for glew 2.2