From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20041224 Description of problem: The spec file for kernel 2.6.10-1.1125_FC4 has an RPM %define for building on FC3 instead of FC4. However, even with the %define's adjusted (%define FC3 1 and %define FC4 0), rebuilding on FC3 fails. I was going to attach a patch to make the dependency depend on %{FC3} and %{FC4}, but I've looked through the spec file now and I don't see why hardlink is a BuildPreReq in the first place. It gets used at package install time, if it's present, but I don't see where it gets used at build time. Version-Release number of selected component (if applicable): 2.6.10-1.1125_FCx How reproducible: Always Steps to Reproduce: 1. Install rawhide kernel SRPM. 2. Change %define FC3 to 1, and %define FC4 to 0. 3. Try rebuilding (e.g. "rpmbuild -ba --target i686 SPECS/kernel-2.6.spec") Actual Results: Building target platforms: i686 Building for target i686 error: Failed build dependencies: hardlink is needed by kernel-2.6.10-1.1125_FC3.barryn.i686 Expected Results: Build should succeed (or at least, it shouldn't fail for this particular reason). Additional info:
Once I remove the hardlink dependency, recompiling for FC3 works, as does running the resulting kernel on FC3.
Seems to be fixed in recent rawhide (2.6.11-1.1172_FCx or so).
Oops, I meant 1173, not 1172.