[bolzplatz2006] Fix bolzplatz2006 not running due to openjdk-1.7 no longer setting
Hans de Goede
jwrdegoede at fedoraproject.org
Fri Apr 6 18:22:58 UTC 2012
commit e1ab764abe1b15547a13262eb77cb26f8b6650b7
Author: Hans de Goede <hdegoede at redhat.com>
Date: Fri Apr 6 20:25:06 2012 +0200
Fix bolzplatz2006 not running due to openjdk-1.7 no longer setting
LD_LIBRARY_PATH
bolzplatz2006.spec | 12 ++++++++++--
1 files changed, 10 insertions(+), 2 deletions(-)
---
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 <hdegoede at redhat.com> - 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 <dbhole at redhat.com> - 1.0.3-17
- Resolves rhbz#794501
- Patch from Omair Majid <omajid at redhat.com> , removed explicit Java 6 dependency
More information about the scm-commits
mailing list