Red Hat Bugzilla – Bug 133309
spec build buglet
Last modified: 2007-11-30 17:07:04 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4.3)
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:
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):
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.
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