Description of problem: Mock fails with a syntax error on a finally clause
Version-Release number of selected component (if applicable):1.0.36
How reproducible: Consistent
Steps to Reproduce:
Upgrade to mock 1.0.36 package.
Run a mock build
[exec] Traceback (most recent call last):
[exec] File "/usr/sbin/mock", line 66, in ?
[exec] import mockbuild.backend
[exec] File "/usr/lib/python2.4/site-packages/mockbuild/backend.py", line 237
[exec] SyntaxError: invalid syntax
Expected results: Successfull build
Additional info: finally is not valid python24 syntax
I foolishly let python > 2.4 conventions slip into the mock-1.0 branch so I'll need to clean that up. May take me a couple of days though.
mock-1.0.37-1.el5 has been submitted as an update for Fedora EPEL 5.
* should fix your issue,
* was pushed to the Fedora EPEL 5 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=epel-testing mock-1.0.37-1.el5'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
mock-1.0.37-1.el5 has been pushed to the Fedora EPEL 5 stable repository. If problems still persist, please make note of it in this bug report.