On Wednesday, February 2, 2022 4:18:29 PM CET Ankur Sinha wrote:
> On Wed, Feb 02, 2022 16:07:38 +0100, Alain Vigne wrote:
> > Can someone explain to me why my  .srpm  [1]
> > is not building in mock ?
> > 
> > I ran
> > > mock filename.srpm
> 
> Have you had a chance to look at the mock man page, or this wiki page?
> https://fedoraproject.org/wiki/Using_Mock_to_test_package_builds#How_do_I_use_Mock.3F
> 
> The command is of the form:
> 
> mock -r <chroot> --rebuild ./path/to/srpm

This _is_ a valid command:

    $ mock <src.rpm>

The --rebuild is the default mode.  And if not specified, mock tries to
pick the mock configuration according the host system (so it uses
'-r fedora-35-x86_64' on a fedora-35-x86_64 host system).

Pavel


_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@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/devel@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to