Re: #How_To_Test Re: Fedora 35 Change: Autoconf-2.71 (Self-Contained Change proposal)

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

 



On Wed, 2021-04-14 at 12:58 +0200, Fabio Valentini wrote:
> On Wed, Apr 14, 2021 at 12:35 PM Sérgio Basto <sergio@xxxxxxxxxx>
> 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@xxxxxxxxxx>
> > > > 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"

ah, ok, Thank you. Indeed mock man page have a good documentation (1)
... 

so option 1:
mkdir $HOME/.config/mock
copr mock-config odubaj/autoconf-2.70 fedora-34-x86_64  > odubaj-
autoconf-2.70_fedora-34-x86_64.cfg
mv odubaj-autoconf-2.70_fedora-34-x86_64.cfg $HOME/.config/mock/

option 2 :
copr mock-config odubaj/autoconf-2.70 fedora-34-x86_64  > odubaj-
autoconf-2.70_fedora-34-x86_64.cfg
mock -r odubaj-autoconf-2.70_fedora-rawhide-x86_64.cfg

(1)
-r CONFIG, --root=CONFIG
              Uses  specified chroot configuration as defined in
~/.config/mock/<CONFIG>.cfg or /etc/mock/<CONFIG>.cfg.  Optionally if
CONFIG ends in '.cfg',
              it is interpreted as full path to config file. If none
specified, uses the chroot config linked to by /etc/mock/default.cfg.

> Fabio
> _______________________________________________
> devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
> To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
> 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/devel@xxxxxxxxxxxxxxxxxxxxxxx
> Do not reply to spam on the list, report it: 
> https://pagure.io/fedora-infrastructure
-- 
Sérgio M. B.
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
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/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure




[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