Bug 1068735

Summary: maven requires generator automatically adds java version - interferes with java-headless switch.
Product: [Fedora] Fedora Reporter: Orion Poplawski <orion>
Component: javapackages-toolsAssignee: Stanislav Ochotnicky <sochotni>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: java-sig-commits, mizdebsk, msimacek, msrb, sochotni
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: javapackages-tools-3.5.0-5.fc21 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-02-24 08:48:23 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: 1068377    

Description Orion Poplawski 2014-02-21 19:08:57 UTC
Description of problem:

/usr/lib/rpm/maven.req: print_mvn_requires() adds a:

Requires: java > (needed java version)

to packages.  This prevents a switch to java-headless.  Perhaps it should add java-headless instead.  I don't know.

Comment 1 Stanislav Ochotnicky 2014-02-24 08:17:04 UTC
You are correct, I haven't realized 3.5.0 didn't include the change from upstream. I'll backport it into rawhide.

Comment 2 Stanislav Ochotnicky 2014-02-24 08:48:23 UTC
Rawhide is fixed, next release will include the change as well