Re: Packaging for EPEL9 question

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

 



Hello Steve,

On Wednesday, February 23, 2022 12:57:02 AM CET Steve Cossette wrote:
> So I am working on building for EPEL9 from fedora 35, but mock was
> complaining it had no config file for epel9.
> 
> So I created a symlink:
> 
> epel-9-x86_64.cfg -> /etc/mock/centos-stream+epel-9-x86_64.cfg
> 
> I was looking in the doc files and couldn't find any documentation on this,
> is this correct?

yes, I would encourage you to create the symlink in your home directory:
ln -s /etc/mock/centos-stream+epel-9-x86_64.cfg $HOME/.config/mock/epel-9-x86_64.cfg

I suppose you do `fedpkg mockbuild`?  I submitted a Mock PR to help users with
configuring mock [1] now:

    $ mock -r epel-9-x86_64
    ERROR: Could not find required config file: /etc/mock/epel-9-x86_64.cfg
    ERROR: There are those alternatives:
    ERROR: 
    ERROR: [1] centos-stream+epel-9-x86_64
    ERROR:     Use instead: mock -r centos-stream+epel-9-x86_64 
    ERROR:     Builds against CentOS Stream 9 repositories together with the official EPEL 9 repositories.
    ERROR:     Project page: https://www.centos.org/centos-stream/
    ERROR:     Enable permanently by:
    ERROR:     $ ln -s /etc/mock/centos-stream+epel-9-x86_64.cfg /home/praiskup/.config/mock/epel-9-x86_64.cfg

[1] https://github.com/rpm-software-management/mock/pull/871

Pavel


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




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux