mock and the dist tag

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


On Nov 28, 2007 12:50 AM, Jeff Krebs <jkrebs at tconl.com> wrote:
>
> * Andrew Parker (andrewparker at bigfoot.com) 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.
>
> The ".rpmmacros" file is helpful.  You can add things like gpg
> signatures and such.  I think the line:
>
> %distribution fc8
>
> may do what you're asking.
>
> Jeff Krebs

that works for rpmbuild, but mock creates a chroot and you don't get
the opportunity to create that file




More information about the fedora-list mailing list