+++ This bug was initially created as a clone of Bug #912403 +++
--- Additional comment from Bohuslav "Slavek" Kabrda on 2014-03-20 07:59:23 EDT ---
We've just hit this again with RHSCL 1.1 python27 collection - python27-python NVR is the same as RHEL 7 python NVR, so we keep getting
Could not execute build: python-2.7.5-12.el7 has already been built
which is plainly wrong. Pavol, could you please do something about it? This has been reported for more than a year now.
*** Bug 905521 has been marked as a duplicate of this bug. ***
This check was originally introduced to speedup detection of duplicate builds and lower load on koji. I'm going to remove this check from build completely.
We can do this check with separate command and properly with support from koji hub. Roughly the process would be:
1. fedpkg builds Koji target name, repository name and branch,
2. fedpkg asks Koji hub to make NVR with parameters in previous point
3. Koji hub takes the target and in the corresponding buildroot it will expand all macros and extracts NVR which will be send back to client.
Alternatively the job made by Koji hub can be made "offline" with mock & config taken from koji.
In the end only --skip-nvr-check option was implemented. More can be done if anyone is interested in that.
Pavol, could you please provide info on how we can get a new rhpkg build that contains this feature, so that we can test it? Thanks.
Slavek, just yesterday we changed the approach to fix this bug so it won't break the API for clients which use this library. I'd like to get review on this patch one more. At the moment we don't have an official build.
fedpkg-1.18-1.fc19,rpkg-1.26-1.fc19 has been submitted as an update for Fedora 19.
fedpkg-1.18-1.fc20,rpkg-1.26-1.fc20 has been submitted as an update for Fedora 20.
fedpkg-1.18-1.el6,rpkg-1.26-1.el6 has been submitted as an update for Fedora EPEL 6.
fedpkg-1.18-1.fc20, rpkg-1.26-1.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.
fedpkg-1.18-1.fc19, rpkg-1.26-1.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.
fedpkg-1.18-1.el6, rpkg-1.26-1.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report.