#47604 idm-console-framework: remove versioned jars from %{_javadir}
Closed: Fixed None Opened 6 years ago by rmeggins.

Ticket was cloned from Red Hat Bugzilla (product Fedora): Bug 1022104

Package idm-console-framework seems to contain versioned jar files in
(/usr/share/java). Such versioned files cause problems for automatic
requires generation and violate packaging guidelines[1].

List of subpackages and contained versioned jars

There are cases where this can be a false positive. Most likely if:
   * your package is compatibility version and contains only versioned
   * 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

These three components all do version checks of the idm-console-framework

BuildRequires: idm-console-framework >= 1.1

console -> 389-console.spec
admin-console -> 389-admin-console.spec, fedora-ds-admin-console.spec
ds-console -> 389-ds-console.spec, fedora-ds-console.spec

Looking in /usr/share/java we are creating symbolic links to the new versioned jar:

/usr/share/java/idm-console-base-1.1.jar -> idm-console-base-1.1.7.jar
/usr/share/java/idm-console-base.jar -> idm-console-base-1.1.7.jar

I'm not sure if this is needed anymore.

To ssh://git.fedorahosted.org/git/idm-console-framework.git
0cc2908..940358c master -> master
commit 940358ca41d42e38bbd93b00c78a4f95b4d2348e

To ssh://git.fedorahosted.org/git/389/console.git
23e0e74..63be739 master -> master
commit 63be739dc92ed6437bca2eb250ce024548243420

Metadata Update from @mreynolds:
- Issue assigned to mreynolds
- Issue set to the milestone: 389-admin,console 1.1.36

2 years ago

Login to comment on this ticket.