Bug 1022158 - powermock: remove versioned jars from %{_javadir}
powermock: remove versioned jars from %{_javadir}
Status: CLOSED NOTABUG
Product: Fedora
Classification: Fedora
Component: powermock (Show other bugs)
rawhide
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Michael Simacek
Fedora Extras Quality Assurance
:
Depends On:
Blocks: 1022024
  Show dependency treegraph
 
Reported: 2013-10-22 11:52 EDT by Stanislav Ochotnicky
Modified: 2014-03-21 08:34 EDT (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2014-03-21 08:34:07 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Stanislav Ochotnicky 2013-10-22 11:52:31 EDT
Package powermock 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
powermock-junit4:
/usr/share/java/powermock/powermock-junit4.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 Michael Simacek 2014-03-21 08:34:07 EDT
I'm not the package owner, but the version is obviously a part of the package name - powermock-module-junit4 is the artifactId of the junit4 submodule
Closing as a false positive.

Note You need to log in before you can comment on or make changes to this bug.