mock and the dist tag

Todd Zullinger tmz at pobox.com
Wed Nov 28 10:46:34 UTC 2007


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.

-- 
Todd        OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
I honor my personality flaws for without them I would have no
personality at all.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 542 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20071128/3bc35ee2/attachment-0001.sig>


More information about the fedora-list mailing list