Hi,
On Monday, 2024-06-03 16:28:24 +0200, Reindl Harald (privat) wrote:
Am 03.06.24 um 16:18 schrieb Eike Rathke:
So using %{buildroot} instead of %{_buildrootdir} would be an actual replacement?
you should have used %{buildroot} or $RPM_BUILD_ROOT forever https://docs.fedoraproject.org/en-US/packaging-guidelines/RPMMacros/
That %{_buildrootdir}/bin/ was never meant to be DESTDIR/bin/ though. It is used to place a build-time only file. For that, using it instead of %{_buildrootdir} doesn't sound correct either.
The new-fangled %{builddir} sounds more like what was actually needed.
Eike