Bug 982683

Summary: jpackage-utils: support for OpenJDK 8
Product: [Fedora] Fedora Reporter: Florian Weimer <fweimer>
Component: jpackage-utilsAssignee: Mikolaj Izdebski <mizdebsk>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: high    
Version: 19CC: akurtako, alonbl, dbhole, el, jerboaa, mizdebsk
Target Milestone: ---Keywords: FutureFeature, Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 1.7.5-27 Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
: 1149605 (view as bug list) Environment:
Last Closed: 2013-07-23 03:27:26 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1149605    
Attachments:
Description Flags
jpackage-utils-openjdk8.patch none

Description Florian Weimer 2013-07-09 14:50:39 UTC
Created attachment 771070 [details]
jpackage-utils-openjdk8.patch

OpenJDK 8 changes the output format for java -fullversion, so the attached patch is needed.

Furthermore, the spec file needs to create both 1.8.0 directories:

@@ -115,10 +117,10 @@ install -dm 755 ${RPM_BUILD_ROOT}${_jvmcommonsysconfdir}
 install -dm 755 ${RPM_BUILD_ROOT}${_javadir}
 install -dm 755 ${RPM_BUILD_ROOT}${_javadir}-utils
 install -dm 755 ${RPM_BUILD_ROOT}${_javadir}-ext
-install -dm 755 ${RPM_BUILD_ROOT}${_javadir}-{1.5.0,1.6.0,1.7.0}
+install -dm 755 ${RPM_BUILD_ROOT}${_javadir}-{1.5.0,1.6.0,1.7.0,1.8.0}
 install -dm 755 ${RPM_BUILD_ROOT}${_jnidir}
 install -dm 755 ${RPM_BUILD_ROOT}${_jnidir}-ext
-install -dm 755 ${RPM_BUILD_ROOT}${_jnidir}-{1.5.0,1.6.0,1.7.0}
+install -dm 755 ${RPM_BUILD_ROOT}${_jnidir}-{1.5.0,1.6.0,1.7.0,1.8.0}
 install -dm 755 ${RPM_BUILD_ROOT}${_javadocdir}
 install -dm 755 ${RPM_BUILD_ROOT}${_mavenpomdir}
 install -dm 755 ${RPM_BUILD_ROOT}${_mavendepmapdir}

Comment 1 Fedora Admin XMLRPC Client 2013-07-10 14:11:27 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 2 Mikolaj Izdebski 2013-07-11 08:13:42 UTC
*** Bug 983394 has been marked as a duplicate of this bug. ***

Comment 3 Mikolaj Izdebski 2013-07-11 12:55:34 UTC
Fixed in jpackage-utils-1.7.5-27

Comment 4 Fedora Update System 2013-07-11 13:02:11 UTC
jpackage-utils-1.7.5-27.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/jpackage-utils-1.7.5-27.fc19

Comment 5 Fedora Update System 2013-07-23 01:12:21 UTC
jpackage-utils-1.7.5-27.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 6 Mikolaj Izdebski 2013-07-23 03:27:26 UTC
I believe that this bug is fixed in jpackage-utils-1.7.5-27,
which is available in updates for Fedora 19, so I am closing this bug now.

The build containing the fix can be found at Koji:
http://koji.fedoraproject.org/koji/buildinfo?buildID=432788