Require Java >=1.8 for RPMs, vs current >=1.7 52/60952/1
authorDaniel Farrell <dfarrell@redhat.com>
Mon, 31 Jul 2017 19:22:46 +0000 (15:22 -0400)
committerDaniel Farrell <dfarrell@redhat.com>
Mon, 31 Jul 2017 19:22:46 +0000 (15:22 -0400)
All currently supported versions of ODL require Java 1.8, so make it a
hard requirement in the RPM spec file. Currently installs always happen
to pull down 1.8, but we should force it.

Change-Id: I15a765ff3305de5a9ee6db0af548590a6c3bc37f
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
rpm/specs/opendaylight.spec

index d2e3a377289a9c78d7ef5de363666f39005a6e74..6a40e59ae45422fc481d10c3ad1d37b774067b5a 100644 (file)
@@ -18,7 +18,7 @@ Source0:    %name-{{ version_major }}.{{ version_minor }}.{{ version_patch }}-{{
 Source1:    %name-{{ sysd_commit }}.service.tar.gz
 Buildroot:  /tmp
 # Required for ODL at run time
-Requires:   java >= 1:1.7.0
+Requires:   java >= 1:1.8.0
 # Required for creating odl group
 Requires(pre): shadow-utils
 # Required for configuring systemd