Whamcloud - gitweb
LU-5919 build: Make "make rpms" use "make srpm" output 61/12961/11
authorDmitry Eremin <dmitry.eremin@intel.com>
Wed, 1 Apr 2015 19:27:03 +0000 (15:27 -0400)
committerOleg Drokin <oleg.drokin@intel.com>
Mon, 25 May 2015 03:04:29 +0000 (03:04 +0000)
commita71ab04971382c77f708d6a082e8ee2fa845e9be
treea2f8f6c2f80b3227f1563781042c1f69ecad2888
parent0356990876308f811cc6c61c22946a1cd73e5c23
LU-5919 build: Make "make rpms" use "make srpm" output

We rework the rpms and srpm Make targets.  The srpm
target generates the source rpm package much as it did
before, but it puts the results in a known temporary
rpm build tree.  This allows the "make rpms" target to
simply depend on the srpm target, and then build the
binary rpms from the source rpm.

Previously the rpm target _also_ generated a source rpm
package, which could be redudant, and failed to verify that
the source rpm package was itself buildable.

Signed-off-by: Dmitry Eremin <dmitry.eremin@intel.com>
Signed-off-by: Christopher J. Morrone <morrone2@llnl.gov>
Change-Id: I9b2e83e000aca62b5d4841e2ebe9e91fa1db300f
Reviewed-on: http://review.whamcloud.com/12961
Tested-by: Jenkins
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Bob Glossman <bob.glossman@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
autoMakefile.am
config/lustre-build.m4
configure.ac