Thanks Ville, Vit,
I was able to do it.
Jun Aruga
----- Original Message -----
> From: "Vít Ondruch" <vondruch(a)redhat.com>
> To: packaging(a)lists.fedoraproject.org
> Sent: Friday, November 18, 2016 11:02:16 AM
> Subject: [Fedora-packaging] Re: How to install group rpms by mock
>
>
>
> Dne 17.11.2016 v 10:29 Ville Skyttä napsal(a):
> > On Wed, Nov 16, 2016 at 10:06 PM, Jun Aruga <jaruga(a)redhat.com> wrote:
> >> Hello,
> >>
> >> We can install rpms of one group by dnf like this.
> >>
> >> ```
> >> $ sudo dnf group install "C Development Tools and Libraries"
> >> ```
> >>
> >> However anyone, could you tell me how to install those to mock
> >> environment?
> >>
> >> Can we use mock command?
> >>
> >>
> >> ```
> >> $ mock -r fedora-rawhide-x86_64 -i something ?
> >> ```
> > Try prefixing the group name or id with @, e.g.
> > $ mock -r fedora-rawhide-x86_64 -i "@C Development Tools and
Libraries"
> > $ mock -r fedora-rawhide-x86_64 -i @c-development
>
> Another alternative is:
>
> $ mock -r fedora-rawhide-x86_64 --pm-cmd
> and-whatever-dnf-command-you-want-to-use-here
>
>
> (actully it is YUM command for EPEL buildroots, there are even specific
> --{dnf,yum}-cmd alternatives). In your case, this should do the job:
>
> $ mock -r fedora-rawhide-x86_64 --pm-cmd group install "C Development Tools
> and Libraries"
>
>
>
> Vít
> _______________________________________________
> packaging mailing list -- packaging(a)lists.fedoraproject.org
> To unsubscribe send an email to packaging-leave(a)lists.fedoraproject.org
>