On Wed, Apr 14, 2021 at 12:35 PM Sérgio Basto <sergio(a)serjux.com> wrote:
On Wed, 2021-04-14 at 12:29 +0200, Dominik 'Rathann' Mierzejewski
wrote:
> On Wednesday, 14 April 2021 at 11:57, Ondrej Dubaj wrote:
> > On Wed, Apr 14, 2021 at 11:43 AM Sérgio Basto <sergio(a)serjux.com>
> > wrote:
[snip]
> It is arguably better to add the new config to local user mock
config
> only instead of system-wide. I.e. put the new config in
> $HOME/.config/mock .
how ? $HOME/.config/mock directory ?
Easiest solution: The "mock -r" accepts full paths to .cfg files, as
well as the .cfg-suffix-less names derived from system-wide
configuration files.
So just put the file anywhere you like, and supply the full path to it
(including .cfg suffix) to mock's "-r" argument.
e.g. "mock -r $HOME/Downloads/odubaj-autoconf-2.70_fedora-34-x86_64.cfg
./path-to.src.rpm"
Fabio