[CentOS-devel] el7_0 as dist tag (release mismatch in koji)

Mon Jun 30 11:29:42 UTC 2014
Thomas Oulevey <thomas.oulevey at cern.ch>

Hi,
> Dear All,
>
> I'm trying to recompile RHEL packages to i686. Some RHEL source
> packages has the dist tag el7_0 in it. How do you handle it, when
> recompiling? Do you keep it by redefining the dist macro?
> The spec file contains %{dist}, which comes from the
> /etc/rpm/macros.dist. It contains el7 on RHEL installations.
>
> How should I avoid release mismatch in koji?
>
>
Centos project does not use currently koji as the main buildsys.

At work we worked around this issue by defining a buildroot,
(e.g : el7_0-build) and a buildsys repository that ship RPMs with
the macro file.
I ended up having buildsys{major}-{tag}

You will have the same issue if you want to rebuild collection
you will need for each tag a different buildroot enabling the
{collection}-build.
Then you collection*tags number of targets. (yes Redhat does
use el6_5 in collections)

I am interested to see how other people deal with that.
Fedora don't have this issue, tag is always fixed (fc20, fc21)
per buildroot.

Thomas.