diff --git a/bolzplatz2006.spec b/bolzplatz2006.spec index a29f5cb..9ff7ba5 100644 --- a/bolzplatz2006.spec +++ b/bolzplatz2006.spec @@ -7,7 +7,7 @@ Name: bolzplatz2006 Version: 1.0.3 -Release: 17%{?dist} +Release: 18%{?dist} Summary: Slam Soccer 2006 is a funny football game in 3D-comic-style Summary(fr): Coup de Foot 2006 est un jeu comique en 3D Summary(de): Bolzplatz 2006 ist ein spaßiges Fußballspiel im 3D-Comic-Stil @@ -126,6 +126,7 @@ popd %patch7 -p1 %patch8 -p1 %patch9 -p1 +cp %{SOURCE7} . sed -i 's/\r//' license.txt # we use the system versions of these rm -r libsrc/irrlicht-0.14-patched/libpng libsrc/irrlicht-0.14-patched/zlib \ @@ -149,6 +150,9 @@ if [ -z "$JAVA_ARCH" ]; then export JAVA_ARCH=%{_arch} fi +echo "export LD_LIBRARY_PATH=/usr/lib/jvm/jre-openjdk/lib/$JAVA_ARCH" >> \ + %{name}-functions.sh + # jbolzplatz ships with copies of several libraries, as these are heavily # patched we use the bolzplatz versions and not the system ones @@ -209,7 +213,7 @@ desktop-file-install --vendor fedora \ %{SOURCE5} # needed "data" files -install -p -m 644 %{SOURCE7} %{SOURCE8} %{SOURCE9} \ +install -p -m 644 %{name}-functions.sh %{SOURCE8} %{SOURCE9} \ $RPM_BUILD_ROOT%{_datadir}/%{name} @@ -237,6 +241,10 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %changelog +* Fri Apr 6 2012 Hans de Goede - 1.0.3-18 +- Fix bolzplatz2006 not running due to openjdk-1.7 no longer setting + LD_LIBRARY_PATH + * Fri Feb 17 2012 Deepak Bhole - 1.0.3-17 - Resolves rhbz#794501 - Patch from Omair Majid , removed explicit Java 6 dependency