Add normal rpmbuild options for make rpm
----------------------------------------

                 Key: BIGTOP-60
                 URL: https://issues.apache.org/jira/browse/BIGTOP-60
             Project: Bigtop
          Issue Type: Improvement
          Components: RPM
            Reporter: Peter Linnell
            Priority: Minor


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.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to