Bug 746831

Summary: java-1.7.0-openjdk package does not provide 'java'
Product: [Fedora] Fedora Reporter: Mikko Tiihonen <mikko.tiihonen>
Component: java-1.7.0-openjdkAssignee: Deepak Bhole <dbhole>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 16CC: dbhole, jvanek, omajid
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-10-17 21:47:04 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Mikko Tiihonen 2011-10-17 21:35:39 UTC
Description of problem:
I have java-1.7.0-openjdk installed in F16. When installing postgresql-jdbc yum wrongly think it needs to install java-1.6.0-openjdk too.

Version-Release number of selected component (if applicable):
java-1.7.0-openjdk-1.7.0.0-0.1.20110803.1.fc16.x86_64

How reproducible:
always

Steps to Reproduce:
1. yum install java-1.7.0-openjdk
2. yum install postgresql-jdbc
  
Actual results:
yum installs java-1.6.0-openjdk

Expected results:
yum is content with java-1.7.0-openjdk

Additional info:
# yum provides java
java-1.5.0-gcj-1.5.0.0-37.fc16.x86_64 : JPackage runtime compatibility layer java-1.6.0-openjdk-1.6.0.0-59.1.10.3.fc16.x86_64 : OpenJDK Runtime Environment
- but no java-1.7.0-openjdk

Comment 1 Deepak Bhole 2011-10-17 21:47:04 UTC
This is intentional. java-1.6.0-openjdk is the primary Java in F16. To enforce that, the 1.7.0 rpm does not provide 'java', 'java-devel' or any of the usual provides. Please this ticket for more info:

https://fedorahosted.org/fesco/ticket/663