]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
ceph.spec.in: remove build directory at end of %install
authorTim Serong <tserong@suse.com>
Mon, 28 Mar 2022 04:12:10 +0000 (15:12 +1100)
committerTim Serong <tserong@suse.com>
Tue, 24 May 2022 11:59:03 +0000 (21:59 +1000)
commit9da8ca0b2029a6d78c31542549b04d5dbda136f0
treef8bb739cbd07c2d583ac7e00ba569d2731282eda
parentbd4f32486fcbc2bfe667a53f9208627187d993cd
ceph.spec.in: remove build directory at end of %install

By the time we get to the end of the %install section, all the
built binaries have been installed in the build root, so we can
delete the build directory from the source tree.  This frees up
about 17GB of disk space on build hosts, which is helpful in
case other processes later in the RPM build need more disk space.

Fixes: https://tracker.ceph.com/issues/55079
Signed-off-by: Tim Serong <tserong@suse.com>
(cherry picked from commit aa18cb12003e3526c8e8f23dc2335a483fbfa68e)
Conflicts:
ceph.spec.in
- pacific uses "build", not "%{_vpath_builddir}"
ceph.spec.in