Bug 1022171 - xenserverjava: remove versioned jars from %{_javadir}
Summary: xenserverjava: remove versioned jars from %{_javadir}
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: xenserverjava
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Mikolaj Izdebski
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1022024
TreeView+ depends on / blocked
 
Reported: 2013-10-22 15:54 UTC by Stanislav Ochotnicky
Modified: 2014-03-25 15:11 UTC (History)
3 users (show)

Fixed In Version: 5.6.100.1-7
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-03-25 15:11:30 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Adapt to current packaging guidelines (2.15 KB, patch)
2014-01-07 10:02 UTC, Michael Simacek
no flags Details | Diff
Adapt to current packaging guidelines and fix classpath (2.93 KB, patch)
2014-01-07 15:41 UTC, Michael Simacek
no flags Details | Diff

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


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