mock and the dist tag

Andrew Parker andrewparker at bigfoot.com
Wed Nov 28 11:07:28 UTC 2007


On Nov 28, 2007 5:46 AM, Todd Zullinger <tmz at pobox.com> 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).




More information about the fedora-list mailing list