<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">&lt;<a href="mailto:bvanassche@acm.org" target="_blank">bvanassche@acm.org</a>&gt;</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&#39;ve encountered the same problem with the openafs-kmod package.  The only solution I&#39;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 &quot;kernel-devel = 3.10.0-123.13.2.el7.debug&quot;</div><div class="gmail_extra"><br></div><div class="gmail_extra">This is why it finds it when you don&#39;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 &quot;3.10.0-123.13.2.el7.debug&quot; is a later version-release than &quot;3.10.0-123.13.2.el7&quot;.</div><div class="gmail_extra"><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Jonathan Billings &lt;<a href="mailto:jsbillin@umich.edu" target="_blank">jsbillin@umich.edu</a>&gt;<br>College of Engineering - CAEN - Unix and Linux Support<br><br></div>
</div></div>