Re: rawhide %{_buildrootdir} not expanded

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Attachment: signature.asc
Description: PGP signature

--
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
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/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux