<div dir="ltr"><div>Hi Sébastien,</div><div><br></div>Give this a try,<div><br><div>BuildRequires:   A &gt;= 1.2</div><div><br></div><div>This will pull in whatever version of A is available so long as it is not less than 1.2.</div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Oct 27, 2015 at 10:36 AM, Sebastien Moretti <span dir="ltr">&lt;<a href="mailto:sebastien.moretti@unil.ch" target="_blank">sebastien.moretti@unil.ch</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi<br>
<br>
We use Koji and have an issue with some packages (let say B) requiring a particular version of another package (A = 1.2 ) which has a more up-to-date version (A = 1.2 &amp; A = 1.5).<br>
e.g.<br>
Name:            B<br>
BuildRequires:   A = 1.2<br>
<br>
In that case, Koji builds fail:<br>
DEBUG util.py:388:  Error: Package: B-3.4.2-4.el6.x86_64 (build)<br>
DEBUG util.py:388:             Requires: A = 1.2<br>
DEBUG util.py:388:             Available: A = 1.5-1.x86_64 (build)<br>
DEBUG util.py:388:                 A = 1.5<br>
<br>
<br>
<br>
Is there a way to avoid that behavior?<br>
When no version is specified, use the most up-to-date, when a particular version is required, use that one.<br>
<br>
<br>
Regards<br>
<br>
<br>
Mock Version: 1.2.7<br>
<br>
--<br>
Sébastien Moretti<br>
<br>
--<br>
buildsys mailing list<br>
<a href="mailto:buildsys@lists.fedoraproject.org" target="_blank">buildsys@lists.fedoraproject.org</a><br>
<a href="https://admin.fedoraproject.org/mailman/listinfo/buildsys" rel="noreferrer" target="_blank">https://admin.fedoraproject.org/mailman/listinfo/buildsys</a></blockquote></div><br></div>