Re: mock and the dist tag

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

 



On Nov 28, 2007 5:46 AM, Todd Zullinger <tmz@xxxxxxxxx> wrote:
>
> Andrew Parker wrote:
> > When I build an RPM with mock, it gets the standard Fedora dist tag
> > (.fc8).  If I want to change it to use my own dist tag, how can I do
> > that?  Ordinarily I'd do rpmbuild --define 'dist ????' but that's
> > not appropriate with mock.
>
> With mock 0.8, you'd use something like this:
>
> config_opts['macros']['%dist'] = "mydist8"
>
> in either /etc/mock/defaults.cfg or one of the individual chroot
> config files.

BINGO!

perfect, thanks.  i'd tried changing config_opts, but i was
floundering as i didn't know what was needed (or if it worked, for
that matter).


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux