From b75e8518c3273b488fe39a602acf8d5635e5155d Mon Sep 17 00:00:00 2001 From: Yaakov Selkowitz Date: Thu, 20 Mar 2025 14:30:47 -0400 Subject: [PATCH] Fix build for RPM 4.20 With earlier versions, this points to the global BUILDROOT directory, which is already empty at this stage. However, RPM 4.20 rearranged the working directories (which are supposed to be internal implementation details) and this ends up removing the unpacked source tree instead and failing later. --- open-vm-tools.spec | 2 -- 1 file changed, 2 deletions(-) diff --git a/open-vm-tools.spec b/open-vm-tools.spec index a8def52..eb0364e 100644 --- a/open-vm-tools.spec +++ b/open-vm-tools.spec @@ -227,8 +227,6 @@ machines. %build %if 0%{?bundle_gtkmm3} export PATH="%{_buildrootdir}/bin:$PATH" -# Cleanup buildroot for existing rpms -rm -rf %{_buildrootdir}/* function install_rpms_to_current_dir() { PACKAGE_RPM=$(eval echo $1)