<div dir="ltr">If I were doing it in Koji, I would have different build targets for the different dist tags, with the appropriate dist macro defined in each via a buildsys-macros package or similar.<br></div><div class="gmail_extra">

<br><br><div class="gmail_quote">On Mon, Jun 30, 2014 at 10:39 AM, Johnny Hughes <span dir="ltr"><<a href="mailto:johnny@centos.org" target="_blank">johnny@centos.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div class="">On 06/30/2014 08:00 AM, Bojtos Péter wrote:<br>
> Thank you very much. I'm going to use the solution of Thomas for koji<br>
> with the input from your script in git.<br>
><br>
<br>
</div>So, the i686 kernel package is different that then main line one (so,<br>
different than the one in git). Here is where the source RPM is for the<br>
i686 kernel:<br>
<br>
<a href="http://buildlogs.centos.org/c7.00.02/kernel/20140529190808/3.10.0-121.el7.i386/" target="_blank">http://buildlogs.centos.org/c7.00.02/kernel/20140529190808/3.10.0-121.el7.i386/</a><br>
<br>
That kernel has not been tested at all or de-branded.<br>
<br>
> ------------------------------------------------------------------------<br>
><br>
>     *Feladó: *"Johnny Hughes" <<a href="mailto:johnny@centos.org">johnny@centos.org</a>><br>
>     *Címzett: *<a href="mailto:centos-devel@centos.org">centos-devel@centos.org</a><br>
>     *Elküldött üzenetek: *Hétfő, 2014. Június 30. 14:02:31<br>
>     *Tárgy: *Re: [CentOS-devel] el7_0 as dist tag (release mismatch in<br>
<div class="HOEnZb"><div class="h5">>     koji)<br>
><br>
>     On 06/30/2014 05:38 AM, Bojtos Péter wrote:<br>
>     > Dear All,<br>
>     ><br>
>     > I'm trying to recompile RHEL packages to i686. Some RHEL source<br>
>     > packages has the dist tag el7_0 in it. How do you handle it, when<br>
>     > recompiling? Do you keep it by redefining the dist macro?<br>
>     > The spec file contains %{dist}, which comes from the<br>
>     > /etc/rpm/macros.dist. It contains el7 on RHEL installations.<br>
>     ><br>
>     > How should I avoid release mismatch in koji?<br>
><br>
>     We do not use koji currently at all. We have a small script that<br>
>     figures out the dist tag for each package on <a href="http://git.centos.org" target="_blank">git.centos.org</a> ...<br>
>     then we<br>
>     pass that into our mock command. It is called return_disttag.sh and is<br>
>     in this tree:<br>
><br>
>     <a href="https://git.centos.org/tree/centos-git-common.git" target="_blank">https://git.centos.org/tree/centos-git-common.git</a><br>
><br>
>     No idea how or if it will work with koji.<br>
><br>
<br>
</div></div><br>_______________________________________________<br>
CentOS-devel mailing list<br>
<a href="mailto:CentOS-devel@centos.org">CentOS-devel@centos.org</a><br>
<a href="http://lists.centos.org/mailman/listinfo/centos-devel" target="_blank">http://lists.centos.org/mailman/listinfo/centos-devel</a><br>
<br></blockquote></div><br></div>