New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
octopus: ceph.spec.in: remove build directory at end of %install #45699
base: octopus
Are you sure you want to change the base?
Conversation
bf2b860
to
66869b6
Compare
That force push was just adding Conflicts info to the commit message |
This also needs #45705 |
jenkins test docs please |
1 similar comment
jenkins test docs please |
hi Tim, the doc build failure should be addressed by #45972. before it is merged, i think we need to live with the build failure =( |
jenkins retest this please |
ca39e92
to
0757786
Compare
Rebased to pick up docs fix |
Dammit, now it's failing API tests because "apache-libcloud 3.5.1 requires requests>=2.26.0, but you have requests 2.25.1 which is incompatible." |
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 aa18cb1) Conflicts: ceph.spec.in - octopus uses "build", not "%{_vpath_builddir}"
Removing the build directory at the end of %install is too soon, and means we get rid of a bunch of stuff needed to correctly create debuginfo/debugsource packages, which happens automatically right after %install. So, let's put it where it really belongs, in the %clean section. Fixes: aa18cb1 Fixes: https://tracker.ceph.com/issues/55079 Signed-off-by: Tim Serong <tserong@suse.com> (cherry picked from commit 94ad178)
0757786
to
bba2708
Compare
backport tracker: https://tracker.ceph.com/issues/55099
backport of #45664
parent tracker: https://tracker.ceph.com/issues/55079
this backport was staged using ceph-backport.sh version 16.0.0.6848
find the latest version at https://github.com/ceph/ceph/blob/master/src/script/ceph-backport.sh