Hello Steve,
On Wednesday, February 23, 2022 12:57:02 AM CET Steve Cossette wrote:
So I am working on building for EPEL9 from fedora 35, but mock was
complaining it had no config file for epel9.
So I created a symlink:
epel-9-x86_64.cfg -> /etc/mock/centos-stream+epel-9-x86_64.cfg
I was looking in the doc files and couldn't find any documentation on this,
is this correct?
yes, I would encourage you to create the symlink in your home directory:
ln -s /etc/mock/centos-stream+epel-9-x86_64.cfg $HOME/.config/mock/epel-9-x86_64.cfg
I suppose you do `fedpkg mockbuild`? I submitted a Mock PR to help users with
configuring mock [1] now:
$ mock -r epel-9-x86_64
ERROR: Could not find required config file: /etc/mock/epel-9-x86_64.cfg
ERROR: There are those alternatives:
ERROR:
ERROR: [1] centos-stream+epel-9-x86_64
ERROR: Use instead: mock -r centos-stream+epel-9-x86_64
ERROR: Builds against CentOS Stream 9 repositories together with the official EPEL
9 repositories.
ERROR: Project page:
https://www.centos.org/centos-stream/
ERROR: Enable permanently by:
ERROR: $ ln -s /etc/mock/centos-stream+epel-9-x86_64.cfg
/home/praiskup/.config/mock/epel-9-x86_64.cfg
[1]
https://github.com/rpm-software-management/mock/pull/871
Pavel