Bug 923297
| Summary: | eclipse-jbosstools: JAR files are installed into wrong directories | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Mikolaj Izdebski <mizdebsk> |
| Component: | eclipse-jbosstools | Assignee: | Gerard Ryan <gerard> |
| Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | gerard, mgoldman |
| 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: | 2013-03-19 15:59:33 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: | 923270 | ||
I was not aware that the separate Eclipse guidelines was officially approved packaging guidelines. See comment in bug#923270 for more details. Because of the above I am closing this bug now. |
Description of problem: eclipse-jbosstools-ws package is installing JAR files into wrong locations. According to Java packaging guidelines[1] all architecture-independent JAR files MUST go into %{_javadir} or a Java-version specific directory %{_javadir}-* as appropriate and JAR files using JNI or containing JNI shared objects themselves MUST be placed in %{_jnidir}. eclipse-jbosstools package violates that guidelines by installing JAR files into other directories. If JAR were put into some non-standard directory for technical reasons then these JARs should be moved to proper locations (as described in the guidelines[1]) and symbolic links can be placed in the previous location. Besides eclipse-jbosstools-ws, 9 other binary packages built from eclipse-jbosstools source package seem to install files into wrong location. The full list is is: * eclipse-jbosstools-archives * eclipse-jbosstools-as * eclipse-jbosstools-cdi * eclipse-jbosstools-common * eclipse-jbosstools-freemarker * eclipse-jbosstools-jmx * eclipse-jbosstools-jst * eclipse-jbosstools-runtime * eclipse-jbosstools-usage * eclipse-jbosstools-ws I am not going to attach the full list of JAR files, but this list can be obtained using repoquery: repoquery --repoid rawhide -l eclipse-jbosstools-archives eclipse-jbosstools-as eclipse-jbosstools-cdi eclipse-jbosstools-common eclipse-jbosstools-freemarker eclipse-jbosstools-jmx eclipse-jbosstools-jst eclipse-jbosstools-runtime eclipse-jbosstools-usage eclipse-jbosstools-ws | grep '\.jar$' | grep -v /usr/share/java | grep -v /usr/lib/java Version-Release number of selected component (if applicable): 4.0.0-1 Additional info: [1] http://fedoraproject.org/wiki/Packaging:Java [2] http://fedoraproject.org/wiki/Packaging:Guidelines