Description of problem: Seen today on a Rawhide machine: Updating : mock-1.1.38-1.fc21.noarch 31/61 warning: %post(mock-1.1.38-1.fc21.noarch) scriptlet failed, exit status 254 Non-fatal POSTIN scriptlet failure in rpm package mock-1.1.38-1.fc21.noarch The problem is that the %post script's computation of the version doesn't take Rawhide into account. It computes 21 for the value, then tries to link to /etc/mock/fedora-21-x86_64.cfg instead of /etc/mock/fedora-rawhide-x86_64.cfg. One possible fix is to change the version computation as follows: if [ -e /etc/fedora-release ] then if grep -Fq Rawhide /etc/fedora-release; then ver=Rawhide else ver=$(rpm -q --nosignature --qf "%{VERSION}" --whatprovides fedora-release) fi else ver=$(rpm -q --nosignature --qf "%{VERSION}" --whatprovides redhat-release) fi Version-Release number of selected component (if applicable): mock-1.1.38-1.fc21.noarch How reproducible: Always Steps to Reproduce: 1. Install or upgrade mock on a Rawhide machine 2. 3. Actual results: /etc/mock/default.cfg is not created Expected results: /etc/mock/default.cfg is created Additional info:
Except that should be "rawhide" with a lower-case 'r', of course: ver=rawhide Sorry about that.
Thanks, applied your fix to the specfile template and queued for the next release.
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
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.