[
http://jira.codehaus.org/browse/MOJO-1308?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=180775#action_180775 ]
Are Gravbrøt commented on MOJO-1308:
------------------------------------
This would indeed work provided that a full path can be provided in the <destination> tag under the <softlinkSource>. Only problem I can think of is that this full path also may contain a directory which may need special properties like filemode etc.. However, I guess you could add this as a separate mapping directive containing an empty directory if this is needed.
> Support for softlinks
> ---------------------
>
> Key: MOJO-1308
> URL:
http://jira.codehaus.org/browse/MOJO-1308> Project: Mojo
> Issue Type: New Feature
> Components: rpm
> Reporter: Are Gravbrøt
> Priority: Minor
>
> In many cases it is necessary to add softlinks in the rpm complete software installation.
> Today that can be accomplished by adding scripts containing ln -s statements.
> However, there is a significant drawback in doing it this way, since the %files section of the SPEC file is not updated to reflect this.
> This leads to creating files that are not reported by rpm -ql.
> To remedy this, I suggest adding a feature to enable the addition of softlinks in the configuration section.
> Ex. <softlinkmapping><target>/sometarget</target><source>/somesource</source></softlinkmapping>
> The spec file can be updated in the following way:
> %install
> ln -s /somesource $RPM_BUILD/sometarget
> %files
> /sometarget
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa-
For more information on JIRA, see:
http://www.atlassian.com/software/jira---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email