You are quite right that we have evolved beyond the outdated
instructions on the wiki page you mention. AFA .rpmmacros & .rpmrc, if
you use bldchrt exclusively then you do not need to edit those files
in your chroot environments, because bldchrt will do that for you
automatically. Unfortunately right now (until we get a fix for the
"multiple pkgs satisfy a BR" problem), you WILL need a valid
.rpmmacros & .rpmrc in your chroot environments, in order to use
saddpkg to install the BRs for those pkgs which fail with the Missing
BR: t error...
Further to that, saddpkg depends on the SOURCES & SPECS dirs being
populated with the files from the pkg you are attempting to build in
order to work, so you first need to run bldchrt (without the --clean
option) at least one time on that pkg (in order that it may copy the
sources, patches and specfile to the folders) before running saddpkg,
else saddpkg will error out with missing files errors.
Once all the changes are in place with bldchrt, the builder will need
separate chroot environments for not only the 32bit vs 64bit packages,
but also two additional ones for the PLF packages, one each for 32bit
& 64bit (for a total of four chroot environments). This will be
necessary in order to avoid building non-PLF packages with BRs
provided by PLF packages (a point which was brought up by
Neverstopdreaming and brought to my attention by Matt).
The space requirements for those four will be lessened somewhat by a
novel approach... We plan to have special dirs created in the host
(under /var/lib/bldchrt) to store the cached pkgs which are downloaded
by smart while running bldchrt, and mount those into the respective
chroot environments. The non-PLF environments will have the PLF
channel disabled, while the PLF ones will have it enabled, so we only
need two dirs to accomplish this (one for 32bit and another for 64bit
pkgs). Since the default for bldchrt is to keep downloaded packages in
the cache, this will lessen the amount of downloading needed for any
package which needs both non-PLF & PLF versions built.
Also the goal is to make bldchrt PLF-aware so it will alert the
builder if any pkg has a PLF version as an option in the specfile, and
decide automatically which environment to use based on the presence
(or absence) of a "--with=plf" option as part of the options string
passed with the -b/--bpopts option.