Thank you very much. I'm going to use the solution of Thomas for koji with the input from your script in git.
----- Eredeti üzenet -----
Feladó: "Johnny Hughes" johnny@centos.org Címzett: centos-devel@centos.org Elküldött üzenetek: Hétfő, 2014. Június 30. 14:02:31 Tárgy: Re: [CentOS-devel] el7_0 as dist tag (release mismatch in koji)
On 06/30/2014 05:38 AM, Bojtos Péter wrote:
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?
We do not use koji currently at all. We have a small script that figures out the dist tag for each package on git.centos.org ... then we pass that into our mock command. It is called return_disttag.sh and is in this tree:
No idea how or if it will work with koji.
CentOS-devel mailing list CentOS-devel@centos.org http://lists.centos.org/mailman/listinfo/centos-devel