On Sunday, April 28 2019, Miroslav Suchý wrote:
Dne 26. 04. 19 v 23:49 Ben Cotton napsal(a):
>
https://fedoraproject.org/wiki/Changes/Minimal_GDB_in_buildroot
>
> == Summary ==
> Create <code>gdb-minimal</code> package (without XML support, Python
> support, Syntax Highlight and such) and switch to it in buildroot.
The change will likely affect Mock and will slightly modify its behaviour.
Right now, it seems that I will add `--allowerasing` to dnf command.
If you are interrested, please join this RFC discussion:
https://github.com/rpm-software-management/mock/issues/251
Hey Miroslav,
I just would like to clarify that the change will actually not require
any modification from mock's perspective. The final split of the GDB
package will work like this:
- gdb-minimal will provide /usr/bin/gdb.minimal.
- gdb will probide /usr/bin/gdb, and /usr/bin/gdb-add-index (which is
the script the buildroot ultimate uses).
- /usr/bin/gdb-add-index will check if there's a /usr/bin/gdb.minimal
binary available, and use it. Otherwise, it will fallback to
/usr/bin/gdb.
Therefore, no Conflicts was needed, which means that even if a package
being built depends on gdb, no problems should arise.
Thanks,
--
Sergio
GPG key ID: 237A 54B1 0287 28BF 00EF 31F4 D0EB 7628 65FC 5E36
Please send encrypted e-mail if possible
http://sergiodj.net/