ceph.spec.in: use %make_install macro

hide buildroot in the implementation of this macro

Signed-off-by: Kefu Chai <kchai@redhat.com>
This commit is contained in:
Kefu Chai 2021-02-17 12:30:13 +08:00
parent 0e511973f7
commit 144bf31087

View 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