[CentOS] Mock config error

2020-08-23 Thread me
Hi, I am trying to create a mock configuration file that points to my local dnf repo. I have the following in the mock config template: [local-repo] name=my-Local baseurl=http://yumrepo.example.com/yum-repository/local/centos/8/x86_64/ failovermethod=priority skip_if_unavailable=False When I

Re: [CentOS] Mock config error

2020-08-23 Thread Jonathan Billings
On Aug 23, 2020, at 12:07, m...@tdiehl.org wrote: > > Hi, > > I am trying to create a mock configuration file that points to my local dnf > repo. > I have the following in the mock config template: > > [local-repo] > name=my-Local > baseurl=http://yumrepo.example.com/yum-repository/local/cento

Re: [CentOS] Mock config error

2020-08-24 Thread me
Hi Jonathan, On Sun, 23 Aug 2020, Jonathan Billings wrote: On Aug 23, 2020, at 12:07, m...@tdiehl.org wrote: Hi, I am trying to create a mock configuration file that points to my local dnf repo. I have the following in the mock config template: [local-repo] name=my-Local baseurl=http://yu

Re: [CentOS] Mock config error

2020-08-24 Thread Jonathan Billings
On Aug 24, 2020, at 16:48, m...@tdiehl.org wrote: > > Also, I am trying to add a dist tag to rpms that I build in mock. > In the epel-7 configs I do something like the following: > config_opts['macros']['%dist'] = '.el7.tnt' to get a dist tag on the > rpms. In epel/centos 8 this does not work. >

Re: [CentOS] Mock config error

2020-08-24 Thread Peter
On 25/08/20 11:27 am, Jonathan Billings wrote: On Aug 24, 2020, at 16:48, m...@tdiehl.org wrote: Also, I am trying to add a dist tag to rpms that I build in mock. In the epel-7 configs I do something like the following: config_opts['macros']['%dist'] = '.el7.tnt' to get a dist tag on the rpms.

Re: [CentOS] Mock config error

2020-08-25 Thread me
On Tue, 25 Aug 2020, Peter wrote: On 25/08/20 11:27 am, Jonathan Billings wrote: On Aug 24, 2020, at 16:48, m...@tdiehl.org wrote: Also, I am trying to add a dist tag to rpms that I build in mock. In the epel-7 configs I do something like the following: config_opts['macros']['%dist'] = '.