Merge pull request #45705 from SUSE/wip-really-fix-55079

ceph.spec.in: remove build directory in %clean, not %install

Reviewed-by: Kefu Chai <tchaikov@gmail.com>
This commit is contained in:
Tim Serong 2022-04-04 13:49:32 +10:00 committed by GitHub
commit e92720665f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1469,13 +1469,12 @@ install -m 644 -D monitoring/ceph-mixin/prometheus_alerts.yml %{buildroot}/etc/p
%py_byte_compile %{__python3} %{buildroot}%{python3_sitelib}
%endif
%clean
rm -rf %{buildroot}
# built binaries are no longer necessary at this point,
# but are consuming ~17GB of disk in the build environment
rm -rf %{_vpath_builddir}
%clean
rm -rf %{buildroot}
#################################################################################
# files and systemd scriptlets
#################################################################################