Hi, Here's the latest version of my patch against the OpenAFS-1.2.10 SRPM.
It no longer uses rpm at all from within the SPEC file as that has proven to cause problems under some situations. Instead it now scans /lib/modules to try and determine what the latest installed kernel (with sources) is, and derives the kernel RPM dependency specification from the name of the directory found there. The scanning is done in a script (openafs-kernel-version.sh) that is included as an auxilliary SPEC Source specification. Options can be specified on the rpmbuild command line to indicate which of the userspace tools RPMs and the kernel module RPMs you wish to build. An option can be passed to override the kernel to build against (note that it's changed its name from previous incarnations of this patch). See the SPEC file itself for more details. Furthermore, ia64 and x86_64 arch's are now supported, and can be specified using target=xxx on the rpmbuild command line. Unlike for i386, i686 and athlon targets, these build both the userspace tools RPMs and the kernel module RPMs by default. David
beehive-1.2.10-4.diff.bz2
Description: Binary data
