From b45438f9695955f70fa5cd7a2c4c08ec8c8e86ce Mon Sep 17 00:00:00 2001 From: James Simmons Date: Wed, 18 Sep 2013 09:47:16 -0400 Subject: [PATCH] LU-1199 rpm: don't clean up $RPM_BUILD_ROOT in %build 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 Signed-off-by: James Simmons Change-Id: I4a6b5ebfa34d9fcfddfb0608d4f7dcce3f88a3ef Reviewed-on: http://review.whamcloud.com/5491 Reviewed-by: Bob Glossman Tested-by: Jenkins Tested-by: Maloo Reviewed-by: Minh Diep Reviewed-by: Oleg Drokin --- lustre.spec.in | 2 -- 1 file changed, 2 deletions(-) diff --git a/lustre.spec.in b/lustre.spec.in index e503632..c6c7b34 100644 --- a/lustre.spec.in +++ b/lustre.spec.in @@ -258,8 +258,6 @@ if [ -z "$RPM_BUILD_NCPUS" ] ; then fi fi -rm -rf $RPM_BUILD_ROOT - # 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 -- 1.8.3.1