Bug 1012980

Summary: javapackages-tools: handle cases where artifact is build and not installed for provides/requires
Product: [Fedora] Fedora Reporter: Stanislav Ochotnicky <sochotni>
Component: javapackages-toolsAssignee: Mikolaj Izdebski <mizdebsk>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: java-sig-commits, mizdebsk, msimacek, msrb, sochotni
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 3.3.1-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-10-02 16:02:58 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:
Bug Depends On: 1012938    
Bug Blocks:    

Description Stanislav Ochotnicky 2013-09-27 13:40:07 UTC
Description of problem:
it's possible that XMvn will build artifact, create an autoRequires on it but that artifact is not being installed. That can cause broken packages so it should be handled in spec file by adding %mvn_package macros for given artifacts. 

If %mvn_package is not used correctly maven.prov/req should bail and not build such package

Comment 1 Mikolaj Izdebski 2013-10-02 16:02:11 UTC
Fixed in javapackages-tools-3.3.1-1

Comment 2 Mikolaj Izdebski 2013-10-02 16:02:58 UTC
I believe that this bug is fixed in javapackages-tools-3.3.1-1,
which is available in Fedora Rawhide, so I am closing this bug now.

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

Comment 3 Mikolaj Izdebski 2013-10-02 16:06:42 UTC
Verified by rebulding narayana package.
Test case is still missing.

Comment 4 Michael Simacek 2013-10-03 09:09:12 UTC
Test case added upstream in commit 5c25b86