Bug 1022139

Summary: libvirt-java: remove versioned jars from %{_javadir}
Product: [Fedora] Fedora Reporter: Stanislav Ochotnicky <sochotni>
Component: libvirt-javaAssignee: Daniel Veillard <veillard>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: bkearney, veillard, virt-maint
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-01-06 17:23:37 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:49:21 UTC
Package libvirt-java 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
libvirt-java:
/usr/share/java/libvirt-0.4.9.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 Cole Robinson 2014-01-06 17:23:37 UTC
Fixed in warning: bogus date in %changelog: Mon Feb 3 2011 Bryan Kearney <bkearney) - 0.4.7-1
warning: bogus date in %changelog: Mon Jul 6 2010 Bryan Kearney <bkearney) - 0.4.6-1

libvirt-java-0.4.9-5.fc21

Comment 2 Cole Robinson 2014-01-06 17:23:59 UTC
Fixed in libvirt-java-0.4.9-5.fc21