Bug 1022157

Summary: postgresql-jdbc: remove versioned jars from %{_javadir}
Product: [Fedora] Fedora Reporter: Stanislav Ochotnicky <sochotni>
Component: postgresql-jdbcAssignee: Pavel Raiskup <praiskup>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: hhorak, jmlich, praiskup
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: 2013-11-10 20:08:21 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:52:18 UTC
Package postgresql-jdbc 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
postgresql-jdbc:
/usr/share/java/postgresql-jdbc-9.2.1002.jar
/usr/share/java/postgresql-jdbc2.jar
/usr/share/java/postgresql-jdbc3.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 Pavel Raiskup 2013-11-10 20:08:21 UTC
IIUIC, the postgresql-jdbc2, postgresql-jdbc3, postgresql-jdbc2ee are OK.
The postgresql-jdbc-9.2.1002.jar is not in the package for some time (probably
result of older scanning).