Bug 1022171

Summary: xenserverjava: remove versioned jars from %{_javadir}
Product: [Fedora] Fedora Reporter: Stanislav Ochotnicky <sochotni>
Component: xenserverjavaAssignee: Mikolaj Izdebski <mizdebsk>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: david, mizdebsk, msimacek
Target Milestone: ---Keywords: Patch
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.6.100.1-7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-03-25 15:11:30 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    
Attachments:
Description Flags
Adapt to current packaging guidelines
none
Adapt to current packaging guidelines and fix classpath none

Description Stanislav Ochotnicky 2013-10-22 15:54:48 UTC
Package xenserverjava 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
xenserverjava:
/usr/share/java/xenserver-5.6.100-1.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-01-07 10:02:05 UTC
Created attachment 846547 [details]
Adapt to current packaging guidelines

Comment 2 Mikolaj Izdebski 2014-01-07 14:51:25 UTC
xenserverjava does not build with the patch applied:
http://koji.fedoraproject.org/koji/taskinfo?taskID=6369374

Comment 3 Michael Simacek 2014-01-07 15:41:06 UTC
Created attachment 846739 [details]
Adapt to current packaging guidelines and fix classpath

There was a classpath problem, it didn't build even without it.
Now it builds: http://koji.fedoraproject.org/koji/taskinfo?taskID=6369542

Comment 4 Mikolaj Izdebski 2014-03-25 13:58:28 UTC
Fixed in xenserverjava-5.6.100.1-7

Comment 5 Mikolaj Izdebski 2014-03-25 15:11:30 UTC
I believe that this bug is fixed in xenserverjava-5.6.100.1-7,
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=506865