public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/open-vm-tools] rawhide: Fix build for RPM 4.20
@ 2026-09-03 15:05 Yaakov Selkowitz
  0 siblings, 0 replies; only message in thread
From: Yaakov Selkowitz @ 2026-09-03 15:05 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/open-vm-tools
            Branch : rawhide
            Commit : b75e8518c3273b488fe39a602acf8d5635e5155d
            Author : Yaakov Selkowitz <yselkowi@redhat.com>
            Date   : 2025-03-20T14:31:34-04:00
            Stats  : +0/-2 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/open-vm-tools/c/b75e8518c3273b488fe39a602acf8d5635e5155d?branch=rawhide

            Log:
            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.

---
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)

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-09-03 15:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-03 15:05 [rpms/open-vm-tools] rawhide: Fix build for RPM 4.20 Yaakov Selkowitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox