[jira] Created: (MOJO-1387) Mappings do not support the creation and deletion of symbolic links

View: New views
5 Messages — Rating Filter:   Alert me  

[jira] Created: (MOJO-1387) Mappings do not support the creation and deletion of symbolic links

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Mappings do not support the creation and deletion of symbolic links
-------------------------------------------------------------------

                 Key: MOJO-1387
                 URL: http://jira.codehaus.org/browse/MOJO-1387
             Project: Mojo
          Issue Type: Bug
          Components: rpm
            Reporter: Dave Whitla


There is no equivalent for the following using the rpm-maven-plugin:

%install
    # data
    install -m 755 -o 0 -g 0 -d $RPM_BUILD_ROOT%{_datadir}/%{name}/

    # scripts
    install -m 755 -o 0 -g 0 -d $RPM_BUILD_ROOT%{_datadir}/%{name}/bin/
    install -m 750 $RPM_SOURCE_DIR/bin/domain $RPM_BUILD_ROOT%{_datadir}/%{name}/bin/
    install -m 644 $RPM_SOURCE_DIR/bin/functions $RPM_BUILD_ROOT%{_datadir}/%{name}/bin/

    # executable symlinks
    install -m 755 -o 0 -g 0 -d $RPM_BUILD_ROOT%{_bindir}
    ln -s %{_datadir}/%{name}/bin/domain $RPM_BUILD_ROOT%{_bindir}/domain


%files
    %dir %{_datadir}/%{name}
    %{_datadir}/%{name}/bin/*
    %{_datadir}/%{name}/*
    %{_bindir}/domain




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



[jira] Commented: (MOJO-1387) Mappings do not support the creation and deletion of symbolic links

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ http://jira.codehaus.org/browse/MOJO-1387?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=180483#action_180483 ]

Brett Okken commented on MOJO-1387:
-----------------------------------

This seems to be, at least partially, a duplicate of MOJO-1308.
Can you clarify what functionality you are desiring about and beyond that in MOJO-1308 and provide an example of what you expect to put in the pom and the resultant entries in the spec file?

> Mappings do not support the creation and deletion of symbolic links
> -------------------------------------------------------------------
>
>                 Key: MOJO-1387
>                 URL: http://jira.codehaus.org/browse/MOJO-1387
>             Project: Mojo
>          Issue Type: Bug
>          Components: rpm
>            Reporter: Dave Whitla
>
> There is no equivalent for the following using the rpm-maven-plugin:
> %install
>     # data
>     install -m 755 -o 0 -g 0 -d $RPM_BUILD_ROOT%{_datadir}/%{name}/
>     # scripts
>     install -m 755 -o 0 -g 0 -d $RPM_BUILD_ROOT%{_datadir}/%{name}/bin/
>     install -m 750 $RPM_SOURCE_DIR/bin/domain $RPM_BUILD_ROOT%{_datadir}/%{name}/bin/
>     install -m 644 $RPM_SOURCE_DIR/bin/functions $RPM_BUILD_ROOT%{_datadir}/%{name}/bin/
>     # executable symlinks
>     install -m 755 -o 0 -g 0 -d $RPM_BUILD_ROOT%{_bindir}
>     ln -s %{_datadir}/%{name}/bin/domain $RPM_BUILD_ROOT%{_bindir}/domain
> %files
>     %dir %{_datadir}/%{name}
>     %{_datadir}/%{name}/bin/*
>     %{_datadir}/%{name}/*
>     %{_bindir}/domain

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



[jira] Updated: (MOJO-1387) Mappings do not support the creation and deletion of symbolic links

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ http://jira.codehaus.org/browse/MOJO-1387?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Okken updated MOJO-1387:
------------------------------

    Issue Type: Improvement  (was: Bug)

Switching to an improvement.

> Mappings do not support the creation and deletion of symbolic links
> -------------------------------------------------------------------
>
>                 Key: MOJO-1387
>                 URL: http://jira.codehaus.org/browse/MOJO-1387
>             Project: Mojo
>          Issue Type: Improvement
>          Components: rpm
>            Reporter: Dave Whitla
>
> There is no equivalent for the following using the rpm-maven-plugin:
> %install
>     # data
>     install -m 755 -o 0 -g 0 -d $RPM_BUILD_ROOT%{_datadir}/%{name}/
>     # scripts
>     install -m 755 -o 0 -g 0 -d $RPM_BUILD_ROOT%{_datadir}/%{name}/bin/
>     install -m 750 $RPM_SOURCE_DIR/bin/domain $RPM_BUILD_ROOT%{_datadir}/%{name}/bin/
>     install -m 644 $RPM_SOURCE_DIR/bin/functions $RPM_BUILD_ROOT%{_datadir}/%{name}/bin/
>     # executable symlinks
>     install -m 755 -o 0 -g 0 -d $RPM_BUILD_ROOT%{_bindir}
>     ln -s %{_datadir}/%{name}/bin/domain $RPM_BUILD_ROOT%{_bindir}/domain
> %files
>     %dir %{_datadir}/%{name}
>     %{_datadir}/%{name}/bin/*
>     %{_datadir}/%{name}/*
>     %{_bindir}/domain

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



[jira] Closed: (MOJO-1387) Mappings do not support the creation and deletion of symbolic links

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ http://jira.codehaus.org/browse/MOJO-1387?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Okken closed MOJO-1387.
-----------------------------

    Resolution: Duplicate

I am marking this as a duplicate of MOJO-1308.
If there is functionality you are requesting above and beyond the ability to create links, please log another issue.

> Mappings do not support the creation and deletion of symbolic links
> -------------------------------------------------------------------
>
>                 Key: MOJO-1387
>                 URL: http://jira.codehaus.org/browse/MOJO-1387
>             Project: Mojo
>          Issue Type: Improvement
>          Components: rpm
>            Reporter: Dave Whitla
>
> There is no equivalent for the following using the rpm-maven-plugin:
> %install
>     # data
>     install -m 755 -o 0 -g 0 -d $RPM_BUILD_ROOT%{_datadir}/%{name}/
>     # scripts
>     install -m 755 -o 0 -g 0 -d $RPM_BUILD_ROOT%{_datadir}/%{name}/bin/
>     install -m 750 $RPM_SOURCE_DIR/bin/domain $RPM_BUILD_ROOT%{_datadir}/%{name}/bin/
>     install -m 644 $RPM_SOURCE_DIR/bin/functions $RPM_BUILD_ROOT%{_datadir}/%{name}/bin/
>     # executable symlinks
>     install -m 755 -o 0 -g 0 -d $RPM_BUILD_ROOT%{_bindir}
>     ln -s %{_datadir}/%{name}/bin/domain $RPM_BUILD_ROOT%{_bindir}/domain
> %files
>     %dir %{_datadir}/%{name}
>     %{_datadir}/%{name}/bin/*
>     %{_datadir}/%{name}/*
>     %{_bindir}/domain

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



[jira] Moved: (MRPM-27) Mappings do not support the creation and deletion of symbolic links

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ http://jira.codehaus.org/browse/MRPM-27?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Okken moved MOJO-1387 to MRPM-27:
---------------------------------------

    Component/s:     (was: rpm)
                 rpm
     Complexity:   (was: Intermediate)
            Key: MRPM-27  (was: MOJO-1387)
        Project: Mojo RPM Plugin  (was: Mojo)

> Mappings do not support the creation and deletion of symbolic links
> -------------------------------------------------------------------
>
>                 Key: MRPM-27
>                 URL: http://jira.codehaus.org/browse/MRPM-27
>             Project: Mojo RPM Plugin
>          Issue Type: Improvement
>          Components: rpm
>            Reporter: Dave Whitla
>
> There is no equivalent for the following using the rpm-maven-plugin:
> %install
>     # data
>     install -m 755 -o 0 -g 0 -d $RPM_BUILD_ROOT%{_datadir}/%{name}/
>     # scripts
>     install -m 755 -o 0 -g 0 -d $RPM_BUILD_ROOT%{_datadir}/%{name}/bin/
>     install -m 750 $RPM_SOURCE_DIR/bin/domain $RPM_BUILD_ROOT%{_datadir}/%{name}/bin/
>     install -m 644 $RPM_SOURCE_DIR/bin/functions $RPM_BUILD_ROOT%{_datadir}/%{name}/bin/
>     # executable symlinks
>     install -m 755 -o 0 -g 0 -d $RPM_BUILD_ROOT%{_bindir}
>     ln -s %{_datadir}/%{name}/bin/domain $RPM_BUILD_ROOT%{_bindir}/domain
> %files
>     %dir %{_datadir}/%{name}
>     %{_datadir}/%{name}/bin/*
>     %{_datadir}/%{name}/*
>     %{_bindir}/domain

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