Created attachment 888511 [details] rpm post scriptlet patch Description of problem: The post scriptlet cannot create a /etc/mock/default.cfg symlink due to a string issue. The redhat-release package uses "5Server" or "6Server" for the version instead of only a number as in Fedora. Version-Release number of selected component (if applicable): mock-1.1.38-1.el6.noarch The attached patch will fix the issue by stripping off Server.
*** Bug 1052181 has been marked as a duplicate of this bug. ***
*** Bug 1098477 has been marked as a duplicate of this bug. ***
Created attachment 898409 [details] patch against msuchy-work branch Here's an updated patch that will apply against the msuchy-work branch (if this helps).
Could not be as well 5Workstation? I would replace your substitution by grep -o '[0-9]\+' which would just extract the number(s).
Committed as 5b247f2
mock-1.1.39-1.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/mock-1.1.39-1.fc19
mock-1.1.39-1.el6 has been submitted as an update for Fedora EPEL 6. https://admin.fedoraproject.org/updates/mock-1.1.39-1.el6
mock-1.1.39-1.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/mock-1.1.39-1.fc20
(In reply to Miroslav Suchý from comment #4) > Could not be as well 5Workstation? I would replace your substitution by > grep -o '[0-9]\+' > which would just extract the number(s). Yes, sorry for the delay. Thanks for the update.
Package mock-1.1.39-1.el6: * should fix your issue, * was pushed to the Fedora EPEL 6 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=epel-testing mock-1.1.39-1.el6' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-EPEL-2014-1506/mock-1.1.39-1.el6 then log in and leave karma (feedback).
mock-1.1.39-1.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.
mock-1.1.39-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.
mock-1.1.40-2.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/mock-1.1.40-2.fc20
mock-1.1.40-2.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/mock-1.1.40-2.fc19
mock-1.1.40-2.el6 has been submitted as an update for Fedora EPEL 6. https://admin.fedoraproject.org/updates/mock-1.1.40-2.el6
mock-1.1.41-1.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/mock-1.1.41-1.fc20
mock-1.1.41-1.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/mock-1.1.41-1.fc19
mock-1.1.41-1.el6 has been submitted as an update for Fedora EPEL 6. https://admin.fedoraproject.org/updates/mock-1.1.41-1.el6
mock-1.1.41-1.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.
mock-1.1.41-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.
mock-1.1.41-2.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/mock-1.1.41-2.fc19
mock-1.1.41-3.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/mock-1.1.41-3.fc19
mock-1.1.41-3.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.