<div dir="ltr">Do you have A-1.2 available in your build repos? Usually that error arises when you do not have the specified version available. You may have to build A-1.2 first.</div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Oct 27, 2015 at 10:52 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>
BuildRequires:   A &gt;= 1.2  works without any problem<br>
but I do require A = 1.2.<br>
<br>
<br>
We support several versions of some tools and have this requirement.<br>
<br>
Sébastien<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">
Hi Sébastien,<br>
<br>
Give this a try,<br>
<br>
BuildRequires:   A &gt;= 1.2<br>
<br>
This will pull in whatever version of A is available so long as it is<br>
not less than 1.2.<br>
<br>
On Tue, Oct 27, 2015 at 10:36 AM, Sebastien Moretti<br></span><div><div class="h5">
&lt;<a href="mailto:sebastien.moretti@unil.ch" target="_blank">sebastien.moretti@unil.ch</a> &lt;mailto:<a href="mailto:sebastien.moretti@unil.ch" target="_blank">sebastien.moretti@unil.ch</a>&gt;&gt; wrote:<br>
<br>
    Hi<br>
<br>
    We use Koji and have an issue with some packages (let say B)<br>
    requiring a particular version of another package (A = 1.2 ) which<br>
    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<br>
    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><br>
</div></div></blockquote><div class="HOEnZb"><div class="h5">
<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></div></div></blockquote></div><br></div>