#47604 idm-console-framework: remove versioned jars from %{_javadir}
Closed: wontfix None Opened 10 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
%{_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
idm-console-framework:
/usr/share/java/idm-console-base-1.1.7.jar
/usr/share/java/idm-console-base-1.1.jar
/usr/share/java/idm-console-mcc-1.1.7.jar
/usr/share/java/idm-console-mcc-1.1.jar
/usr/share/java/idm-console-nmclf-1.1.7.jar
/usr/share/java/idm-console-nmclf-1.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

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.7.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

7 years ago

389-ds-base is moving from Pagure to Github. This means that new issues and pull requests
will be accepted only in 389-ds-base's github repository.

This issue has been cloned to Github and is available here:
- https://github.com/389ds/389-ds-base/issues/941

If you want to receive further updates on the issue, please navigate to the github issue
and click on subscribe button.

Thank you for understanding. We apologize for all inconvenience.

Metadata Update from @spichugi:
- Issue close_status updated to: wontfix (was: Fixed)

3 years ago

Login to comment on this ticket.

Metadata