Bug 1022098

Summary: findbugs-bcel: remove versioned jars from %{_javadir}
Product: [Fedora] Fedora Reporter: Stanislav Ochotnicky <sochotni>
Component: findbugs-bcelAssignee: Richard Fearn <richardfearn>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: richardfearn
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-02-22 23:39:35 UTC Type: ---
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: 1022024    

Description Stanislav Ochotnicky 2013-10-22 15:42:39 UTC
Package findbugs-bcel seems to contain versioned jar files in %{_javadir}
(/usr/share/java). Such versioned files cause problems for automatic
requires generation and violate packaging guidelines[1].

List of subpackages and contained versioned jars
findbugs-bcel:
/usr/share/java/findbugs-bcel-1.3.8.jar


There are cases where this can be a false positive. Most likely if:
   * your package is compatibility version and contains only versioned
     jars
   * your package has version in the name of jars that are part of
     package name

Thank you,

[1] https://fedoraproject.org/wiki/Packaging:Java#Filenames

Comment 1 Richard Fearn 2013-10-26 11:01:19 UTC
I'm in the process of updating FindBugs at the moment so the findbugs-bcel version has changed. The JAR still has a version number in its filename, though:

/usr/share/java/findbugs-bcel-20130910svn1521566.jar

I'll fix this once FindBugs is up-to-date.

Comment 2 Richard Fearn 2014-02-22 23:39:35 UTC
Fixed in rawhide:

http://koji.fedoraproject.org/koji/buildinfo?buildID=500002