[libbluray] Fix building with openJDK 8

xavierb xavierb at fedoraproject.org
Mon Aug 4 23:48:02 UTC 2014


commit 0f2579dcbafda8bf31f14fa631e16fdbe868fea0
Author: Xavier Bachelot <xavier at bachelot.org>
Date:   Tue Aug 5 01:47:43 2014 +0200

    Fix building with openJDK 8

 libbluray.spec |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/libbluray.spec b/libbluray.spec
index 1eeb211..a957a8d 100644
--- a/libbluray.spec
+++ b/libbluray.spec
@@ -98,7 +98,11 @@ developing applications that use %{name}.
 %if 0%{?snapshot}
 autoreconf -vif
 %endif
+%if 0%{?fedora} > 20
+export JDK_HOME="%{_jvmdir}/java-1.8.0"
+%else
 export JDK_HOME="%{_jvmdir}/java-1.7.0"
+%endif
 %configure --disable-static \
 %if %{build_pdf_doc}
            --enable-doxygen-pdf \
@@ -166,6 +170,7 @@ install -Dp -m755 src/bdj_test %{buildroot}%{_bindir}/bdj_test;
 %changelog
 * Tue Aug 05 2014 Xavier Bachelot <xavier at bachelot.org> 0.6.1-1
 - Update to 0.6.1.
+- Fix building with openJDK 8.
 
 * Wed Jun 04 2014 Xavier Bachelot <xavier at bachelot.org> 0.6.0-1
 - Update to 0.6.0.


More information about the scm-commits mailing list