--- rpm-4.19.0/macros.in.orig 2023-10-09 16:49:43.041643296 +0200 +++ rpm-4.19.0/macros.in 2023-10-09 16:50:04.355765964 +0200 @@ -265,7 +265,7 @@ %_srcrpmdir %{_topdir}/SRPMS # The directory where buildroots will be created. -%_buildrootdir %{_topdir}/BUILDROOT +%_buildrootdir %{_tmppath} # Build root path, where %install installs the package during build. %buildroot %{_buildrootdir}/%{NAME}-%{VERSION}-%{RELEASE}.%{_arch}