presets: disable %clean stage when building RPM
Workaround issue when running with +fileordering on Fedora.
It fails to remove some directories probably seen as still in-use:
+ rm -rf /tmp/reprotest.bJhwNd/const_build_path/rpmbuild/BUILDROOT/qubes-utils-4.1.12-1.fc32.x86_64
rm: cannot remove '/tmp/reprotest.bJhwNd/const_build_path/rpmbuild/BUILDROOT/qubes-utils-4.1.12-1.fc32.x86_64/usr/lib/qubes': Directory not empty
rm: cannot remove '/tmp/reprotest.bJhwNd/const_build_path/rpmbuild/BUILDROOT/qubes-utils-4.1.12-1.fc32.x86_64/usr/lib/debug/.dwz': Directory not empty
error: Bad exit status from /var/tmp/rpm-tmp.pEJpn7 (%clean)
Signed-off-by: Holger Levsen <holger@layer-acht.org>
Loading
Please register or sign in to comment