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


Reply via email to