Whamcloud - gitweb
LU-1199 rpm: don't clean up $RPM_BUILD_ROOT in %build 91/5491/3
authorJames Simmons <uja.ornl@gmail.com>
Wed, 18 Sep 2013 13:47:16 +0000 (09:47 -0400)
committerOleg Drokin <oleg.drokin@intel.com>
Thu, 14 Nov 2013 03:01:29 +0000 (03:01 +0000)
The %clean macro cleans up the buildroot. Doing it manually
makes the SUSE build system complain and breaks short-circuiting.

Signed-off-by: Jeff Mahoney <jeffm@suse.com>
Signed-off-by: James Simmons <uja.ornl@gmail.com>
Change-Id: I4a6b5ebfa34d9fcfddfb0608d4f7dcce3f88a3ef
Reviewed-on: http://review.whamcloud.com/5491
Reviewed-by: Bob Glossman <bob.glossman@intel.com>
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Minh Diep <minh.diep@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>

index e503632..c6c7b34 100644 (file)
@@ -258,8 +258,6 @@ if [ -z "$RPM_BUILD_NCPUS" ] ; then
 # Set an explicit path to our Linux tree, if we can.
 cd $RPM_BUILD_DIR/lustre-%{version}
 # override %optflags so that the vendor's overzealous flags don't create