Well... I do have to patch install in order to allow a BuildRoot, but that
   does not go into the actual installed package.

You do not need to patch.  Build the package with the default config:
make
make man

Then move instcheck and install (I move instcheck to
BuildRoot/var/qmail/bin along with config and friends), and change
conf-qmail:

sed "s}/var/qmail}$RPM_BUILD_ROOT/var/qmail}" conf-qmail > conf-qmail.tmp
mv conf-qmail.tmp conf-qmail

Now just 

make install
make instcheck
./install
./instcheck

Mate




Reply via email to