Re: mock, %{buildroot}, fc35

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

 



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@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