Re: RFC: Alternative -devel packaging

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

 




Dne 28.8.2018 v 13:47 Nicolas Mailhot napsal(a):
> Le 2018-08-07 17:33, Adam Jackson a écrit :
>> Consider a library like libGL. At runtime, you want the drivers it
>> might load to be installed. But when building an application, you just
>> need the library itself. If the drivers themselves have non-trivial
>> dependencies, the buildroot is more likely to fail to compose.
>
> That's a boostraping problem. The general solution is to make our
> build tools bootstrap aware, so they activate bootstrap mode as needed
> automatically, instead of forcing packagers to switch the conditional
> manually in spec files each time a bootstraping situation arises.
>

Just FTR, the logic is more or less there.

https://fedoraproject.org/wiki/Packaging:Guidelines#Bootstrapping
https://pagure.io/packaging-committee/issue/789

together with:

https://src.fedoraproject.org/rpms/fedora-release/pull-request/7

So as long as you do the boostrapping iteration first with "%global
boostrap 1", then the packages have the "~bootstrap" suffix, if you do
subsequent build without the %{boostrap} macro defined, the suffix is
omitted.

Now the only issue is how to inject the "bootstrap 1" macro into the
buildroot. Obviously the tooling does not support it directly, but:

1) Modules can do this AFAIK
2) It is not that hard to adjust some basic RPM package shipping some
%{_rpmconfigdir}/macros.d/macros.* file to have this macro set.



V.
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx




[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