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
--
GPG key 0x6A6CD5B765632D3A - 2265 D7F3 A7B0 95CC 3918 630B 6A6C D5B7 6563 2D3A
signature.asc
Description: PGP signature
-- _______________________________________________ devel mailing list -- [email protected] To unsubscribe send an email to [email protected] Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/[email protected] Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
