but in /etc/mock, there's no file with BLAG version, so I use the F12 file.
But when the package is build, it is labelized with the F12 label.
(when, I built it with only rpmbuild, his name is XXXX-blag.rpm, but this building way is not clean)
So I copy the /etc/mock/fedora-12-x86_64.cfg --> blag-119K-x86_64.cfg and edit it as
config_opts['root'] = 'blag-119K-x86_64'
config_opts['target_arch'] = 'x86_64'
config_opts['chroot_setup_cmd'] = 'groupinstall buildsys-build'
config_opts['dist'] = 'fc12' # only useful for --resultdir variable subst
config_opts['yum.conf'] = """
# grub/syslinux on x86_64 need glibc-devel.i386 which pulls in glibc.i386, need to exclude all
# .i?86 packages except these.
#exclude=[0-9A-Za-fh-z]*.i?86 g[0-9A-Za-km-z]*.i?86 gl[0-9A-Za-hj-z]*.i?86 gli[0-9A-Zac-z]*.i?86 glib[0-9A-Za-bd-z]*.i?86
# The above is not needed anymore with yum multilib policy of "best" which is the default in Fedora.