commit 4b269ccf254115b09b30e58add4453a21b0c08af
Author: Björn Esser <bjoern.esser(a)gmail.com>
Date: Tue Mar 4 10:50:11 2014 +0100
require java-headless on Fedora >= 20 or RHEL >= 7
shogun.spec | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/shogun.spec b/shogun.spec
index e52f01a..97fa9b4 100644
--- a/shogun.spec
+++ b/shogun.spec
@@ -84,7 +84,7 @@ of it's 'no-redistribute', 'no-commercial-use' license.
Name: shogun
Version: %{branch}.0
-Release: 1%{?gitrel}%{?dist}
+Release: 2%{?gitrel}%{?dist}
Summary: Large Scale Machine Learning Toolbox
# ===== License-breakdown =====
@@ -328,7 +328,12 @@ Summary: Java-plugin for %{name}
BuildRequires: java-devel
BuildRequires: jblas
+%if 0%{fedora} >= 20 || 0%{?rhel} >= 7
Requires: java-headless
+%else
+Requires: java
+%endif #0%{fedora} >= 20 || 0%{?rhel} >= 7
+
Requires: jblas%{?_isa}
Requires: jpackage-utils
Requires: %{name}%{?_isa} = %{version}-%{release}
@@ -939,6 +944,9 @@ popd
###############################################################################
%changelog
+* Tue Mar 04 2014 Björn Esser <bjoern.esser(a)gmail.com> - 3.2.0-2
+- require java-headless on Fedora >= 20 or RHEL >= 7
+
* Sun Feb 23 2014 Björn Esser <bjoern.esser(a)gmail.com> - 3.2.0-1
- new upstream release: v3.2.0 (#1066944)
- enabled build of Java-bindings (#1043882)