Re: Mock, Rawhide and DNF

2015-02-16 Thread Kevin Kofler
Clark Williams wrote: > If the above are correct and the only issue here is that we have > different depsolving with yum versus dnf, let's detect that we're > building a Fedora package on EPEL and print a warning to that effect. I > don't think it does us any good to ship a configuration that won't

Re: Mock, Rawhide and DNF

2015-02-16 Thread Till Maas
On Mon, Feb 16, 2015 at 08:56:59AM +0100, Miroslav Suchý wrote: > On 02/14/2015 04:33 AM, Kevin Kofler wrote: > > IMHO, it is the job of the EPEL package of mock to disable the > > config_opts['package_manager'] = 'dnf' option in the shipped version of the > > Rawhide configs. > > But then you w

Re: Mock, Rawhide and DNF

2015-02-16 Thread Clark Williams
On Mon, 16 Feb 2015 16:05:35 +0100 Kevin Kofler wrote: > Miroslav Suchý wrote: > > > On 02/14/2015 04:33 AM, Kevin Kofler wrote: > >> IMHO, it is the job of the EPEL package of mock to disable the > >> config_opts['package_manager'] = 'dnf' option in the shipped version of > >> the Rawhide confi

Re: Mock, Rawhide and DNF

2015-02-16 Thread Kevin Kofler
Miroslav Suchý wrote: > On 02/14/2015 04:33 AM, Kevin Kofler wrote: >> IMHO, it is the job of the EPEL package of mock to disable the >> config_opts['package_manager'] = 'dnf' option in the shipped version of >> the Rawhide configs. > > But then you will not be warned that your results may differ

Re: Mock, Rawhide and DNF

2015-02-15 Thread Miroslav Suchý
On 02/14/2015 04:33 AM, Kevin Kofler wrote: > IMHO, it is the job of the EPEL package of mock to disable the > config_opts['package_manager'] = 'dnf' option in the shipped version of the > Rawhide configs. But then you will not be warned that your results may differ from Koji. -- Miroslav Such

Re: Mock, Rawhide and DNF

2015-02-13 Thread Kevin Kofler
Pierre-Yves Chibon wrote: > Could it be an idea to check if /usr/bin/dnf exists (or if dnf can be > found in $PATH) before calling dnf and if not a) warn the user and b) > switch back to yum? > > This would make mock run out of the box for RHEL/EPEL users as well. IMHO, it is the job of the EPEL

Re: Mock, Rawhide and DNF

2015-02-13 Thread Jan Zelený
On 13. 2. 2015 at 19:10:01, Christopher Meng wrote: > On Friday, February 13, 2015, Pierre-Yves Chibon > > wrote: > > On Fri, Feb 13, 2015 at 09:35:30AM +0100, Miroslav Suchy wrote: > > > > RHEL/EPEL users do not have DNF available, therefore they are unable to > > > > > build packages for Fedo

Re: Mock, Rawhide and DNF

2015-02-13 Thread Christopher Meng
On Friday, February 13, 2015, Pierre-Yves Chibon wrote: > On Fri, Feb 13, 2015 at 09:35:30AM +0100, Miroslav Suchy wrote: > RHEL/EPEL users do not have DNF available, therefore they are unable to > > build packages for Fedora Rawhide. There is however a workaround. Just > > change this line: > >

Re: Mock, Rawhide and DNF

2015-02-13 Thread Pierre-Yves Chibon
On Fri, Feb 13, 2015 at 09:35:30AM +0100, Miroslav Suchy wrote: > Hi, > I just released mock-1.2.7. It have - beside one small bug and new F22 > configs - one important change. > > The rawhide configs have this one line included: > config_opts['package_manager'] = 'dnf' > which means that Mock w

Mock, Rawhide and DNF

2015-02-13 Thread Miroslav Suchy
Hi, I just released mock-1.2.7. It have - beside one small bug and new F22 configs - one important change. The rawhide configs have this one line included: config_opts['package_manager'] = 'dnf' which means that Mock will use DNF for building packages for rawhide targets. There are two conse