From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4.3) Gecko/20040817 Description of problem: Determining the target kernel to build for should not depend on the kernel on the buildhost. Line 126 of the .spec says: OS_VERSION=`uname -r` This of course will cause problems when building in a chroot environment and setarch can only fake the arch, not the version number. Suggest using the version of the kernel or kernel-sources package as a safer indicator of the target kernel. Version-Release number of selected component (if applicable): lvm-1.0.8-5 How reproducible: Always Steps to Reproduce: 1. Drop a RHEL tree on a buildhost running a 2.6 kernel. 2. Rebuild lvm 3. list the filelist from the package. Actual Results: All of the binaries get .lvm1 added to the name. Additional info:
Duh. Multiple kernel and kernel-sources packages can exist, but I don't think kernel-headers can so it would be a better candidate.
Fixed by katzj by removing the kernel version dependent part from the RHEL-3 branch specfile.