[
http://jira.codehaus.org/browse/MOJO-1172?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=159713#action_159713
]
Carlos Sanchez commented on MOJO-1172:
--------------------------------------
can you provide the updates to the documentation too?
> support for %defattr in %files section
> --------------------------------------
>
> Key: MOJO-1172
> URL: http://jira.codehaus.org/browse/MOJO-1172
> Project: Mojo
> Issue Type: Improvement
> Components: rpm
> Reporter: Casey Harkins
> Attachments: rpm-maven-plugin-defattr.patch,
> rpm-maven-plugin-defattr.patch
>
>
> This patch adds support for the %defattr macro in the %files section of the
> spec file. The patch introduces 4 new properties to RPMMojo:
> * defaultFilemode
> * defaultDirmode
> * defaultUsername
> * defaultGroupname
> These properties are used for creating the %defattr macro at the beginning of
> the %files section. If none of the properties are specified, the %defattr
> macro will be omitted. To be of any use, the patch also modifies the Mapping
> class to omit the %attr macro when none of the properties (filemode,
> username, groupname) are specified. This patch can be used to workaround
> MOJO-931.
--
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