Re: rawhide %{_buildrootdir} not expanded

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

 



Hi Panu,

On Monday, 2024-06-03 15:55:09 +0300, Panu Matilainen wrote:

> %{_buildrootdir} is nothing packages should be referring to, in any
> circumstance really. It's a potentially shared directory among arbitrary
> packages (in the traditional it's ~/rpmbuild/BUILDROOT/ ) and putting
> anything there can conflict with other packages being built on the system.
> %{buildroot} is what packages should be referring to,

So using %{buildroot} instead of %{_buildrootdir} would be an actual
replacement?

> or better yet, ${RPM_BUILD_ROOT}.

Why better?


> That said, these cases kinda appear to be something not intended to be
> packaged at all, just "I need to put this file somewhere". That's one of the
> many use-cases we introduced the intermediate %builddir in 4.20, under which
> the %{buildroot} itself is.

But that's _only_ available as of 4.20, so not in f39,f40, correct?

  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