Uploaded image for project: 'Bigtop'
  1. Bigtop
  2. BIGTOP-60

Add normal rpmbuild options for make rpm

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • rpm
    • None

    Description

      As I have been working on the hadoop packaging, it occurred to me it would
      be nice to have an option where rpmbuild permits different steps of the
      build with a -short-circuit option allowing you to for example run:

      make CDH=cmf make hadoop-rpm -bi

      Explanation:

      For a long time rpmbuild allows you to short circuit the build steps for
      diagnosis. So rpmbuild -bc does the compile part -ti does the build and
      install steps without needing to wipe the buildroot and recompiling.

      The reason I ask is much of the time of creating and modifying rpms is
      not the compile parts, but getting the install, permissions and files
      list correct.

      Having this option would allow a quicker turnaround from
      spec file changes to build completion. Most of the time in the make rpm
      build is in the compile phase which can be lengthy at times.

      Attachments

        Activity

          People

            Unassigned Unassigned
            plinnell Peter Linnell
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: