<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Wed, Jan 14, 2015 at 9:24 AM, Bart Van Assche <span dir="ltr"><<a href="mailto:bvanassche@acm.org" target="_blank">bvanassche@acm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div id=":41o" class="" style="overflow:hidden">However, this caused the<br>
build server to install the kernel-debug-devel RPM instead of the<br>
kernel-devel RPM (see also<br>
<a href="https://cbs.centos.org/koji/taskinfo?taskID=6041" target="_blank">https://cbs.centos.org/koji/taskinfo?taskID=6041</a> for the logs).</div></blockquote></div><br>I've encountered the same problem with the openafs-kmod package.  The only solution I've found was to have a </div><div class="gmail_extra"><br></div><div class="gmail_extra">BuildRequires: kernel-devel = %{kver}</div><div class="gmail_extra"><br></div><div class="gmail_extra">... because the kernel-debug-devel provides "kernel-devel = 3.10.0-123.13.2.el7.debug"</div><div class="gmail_extra"><br></div><div class="gmail_extra">This is why it finds it when you don't specify the kversion.  Red Hat, in their infinite wisdom, made the kernel-debug-devel provide kernel-devel, and the RPM sorting algorithm finds that "3.10.0-123.13.2.el7.debug" is a later version-release than "3.10.0-123.13.2.el7".</div><div class="gmail_extra"><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Jonathan Billings <<a href="mailto:jsbillin@umich.edu" target="_blank">jsbillin@umich.edu</a>><br>College of Engineering - CAEN - Unix and Linux Support<br><br></div>
</div></div>