]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
ceph.spec.in: use %make_install macro
authorKefu Chai <kchai@redhat.com>
Wed, 17 Feb 2021 04:30:13 +0000 (12:30 +0800)
committerKefu Chai <kchai@redhat.com>
Wed, 17 Feb 2021 13:06:18 +0000 (21:06 +0800)
hide buildroot in the implementation of this macro

Signed-off-by: Kefu Chai <kchai@redhat.com>
ceph.spec.in

index e6f988c68df3a6745f1203fb33968edbe98da60d..2dbf9f56eb88b2324f69151cc7dab2b2b283fb0b 100644 (file)
@@ -1295,7 +1295,7 @@ ctest %{_smp_mflags}
 
 %install
 pushd build
-make DESTDIR=%{buildroot} install
+%make_install
 # we have dropped sysvinit bits
 rm -f %{buildroot}/%{_sysconfdir}/init.d/ceph
 popd