jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Mojo RPM Plugin
  • MRPM-25

support for %defattr in %files section

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Improvement Improvement
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: 2.0-beta-2
  • Component/s: rpm
  • Labels:
    None
  • Patch Submitted:
    Yes

Description

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.

  • Options
    • Sort By Name
    • Sort By Date
    • Ascending
    • Descending
    • Download All

Attachments

  1. Text File
    rpm-maven-plugin-defattr.patch
    08/Jul/08 7:27 PM
    3 kB
    Casey Harkins
  2. Text File
    rpm-maven-plugin-defattr.patch
    08/Jul/08 3:37 PM
    3 kB
    Casey Harkins

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Casey Harkins added a comment - 08/Jul/08 7:27 PM

Updated patch to make code style consistent with existing code.

Show
Casey Harkins added a comment - 08/Jul/08 7:27 PM Updated patch to make code style consistent with existing code.
Hide
Permalink
Carlos Sanchez added a comment - 02/Jan/09 11:28 AM

can you provide the updates to the documentation too?

Show
Carlos Sanchez added a comment - 02/Jan/09 11:28 AM can you provide the updates to the documentation too?
Hide
Permalink
Brett Okken added a comment - 27/Jan/09 1:26 PM

fixed in 2.0-beta-2-SNAPSHOT

Show
Brett Okken added a comment - 27/Jan/09 1:26 PM fixed in 2.0-beta-2-SNAPSHOT

People

  • Assignee:
    Brett Okken
    Reporter:
    Casey Harkins
Vote (1)
Watch (2)

Dates

  • Created:
    08/Jul/08 3:37 PM
    Updated:
    12/Feb/10 8:07 AM
    Resolved:
    27/Jan/09 1:26 PM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.