Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 322444

Summary: [eclipse-build] Make symlink to eclipse.ini relative
Product: [Tools] Linux Tools Reporter: Andrew Overholt <overholt>
Component: eclipse-buildAssignee: Krzysztof Daniel <krzysztof.daniel>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: 1.0   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Andrew Overholt CLA 2010-08-11 18:26:24 EDT
The rpmlint tool says that symlinks in an RPM should be relative.  For those RPM-based distributions which are using eclipse-build, it would be good if we made the symlink we provide:

  ${destDir}/usr/lib{,64}/eclipse/eclipse.ini -> /etc/eclipse.ini

be relative.  Something like this may work:

  ${destDir}/usr/lib{,64}/eclipse/eclipse.ini -> ../../../etc/eclipse.ini

User-specified ${destDir} and such should be taken into account when making this change.  Benjamin Drung has verified that the Debian packaging tools will turn a relative symlink such as this into an absolute symlink which satisfies lintian's requirements.
Comment 1 Alexander Kurtakov CLA 2012-04-11 17:45:44 EDT
Actually why should it be relative? I don't see this rpmlint warning and having it absolute looks as the right thing in this case.
Comment 2 Krzysztof Daniel CLA 2012-04-12 02:47:26 EDT
Investigating.
Comment 3 Krzysztof Daniel CLA 2012-04-12 03:41:56 EDT
Indeed there is no warning, and the eclipse.ini is expected to be in absolute location regardless of where the eclipse is actually installed. 

Leaving as is with no plan to change.