On Tue, Jun 02, 2020 at 11:19:11PM +0200, Miroslav Such?? wrote:
Dne 02. 06. 20 v 23:02 Quentin Barnes napsal(a):
> 2) the "kernel-rpm-macros"
> package needs to be added to the @buildsys-build group for Fedora
That should be a final solution.
Agreed that the lists should be very cautiously updated. However,
when the choice is available, the best solution for solving the
problem should be the one used.
Variant is that `fedora-rpm-macros` will requires
"kernel-rpm-macros".
There is no need for such an explicit package dependency to exist
since there is no necessary dependency of fedora-rpm-macros on
kernel-rpm-macros. The only reason for it to exist is to work
around this mock packaging build problem. It's not reasonable to
introduce one error to compensate for another one when there are
other, less problematic options. You could more easily try to
blame it on RPM for not having a "BuildRequires(pre):" feature. It
still comes down to mock has to support the RPM subsystem and the
supported OSes with all their current limitations.
> (or added to the
"config_opts['chroot_setup_cmd']=..." cfg line for
> CentOS/RHEL).
This is quick'n'dirty hack to unblock you for local builds and for testing.
--
Miroslav Suchy, RHCA
Red Hat, Associate Manager ABRT/Copr, #brno, #fedora-buildsys
_______________________________________________
buildsys mailing list -- buildsys(a)lists.fedoraproject.org
To unsubscribe send an email to buildsys-leave(a)lists.fedoraproject.org
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/buildsys@lists.fedoraprojec...
Quentin