Bug 744732 - Mock's spec file erroneously requires python >= 2.6
Summary: Mock's spec file erroneously requires python >= 2.6
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: mock
Version: el6
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Clark Williams
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-10-10 10:45 UTC by Davi Arnaut
Modified: 2011-10-13 11:26 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-10-12 22:06:49 UTC
Type: ---


Attachments (Terms of Use)

Description Davi Arnaut 2011-10-10 10:45:47 UTC
Description of problem:

Python >= 2.6 is required, but actually python >= 2.4 is enough. For reference, see BZ#740327.

Version-Release number of selected component (if applicable):

1.1.15

Comment 1 Clark Williams 2011-10-12 22:06:49 UTC
the reason it does so is that the mock-1.1.x series is not intended to be run on EPEL5; the mock 1.0.x series is for EPEL5.

This originally was done due to python-decoratortools not being available on RHEL5/EPEL5. But strangely it now seems to be there. I'm looking at whether we can drop the 1.0.x series and just run 1.1.x on EPEL5, but for now if you're running mock on RHEL5/CENTOS5, please use mock-1.0.x.

Comment 2 Davi Arnaut 2011-10-13 11:26:32 UTC
Yeah, python-decorator is there. Anyway, the point is that the spec should reflect the real requirement and not be used to signal a minimum distribution requirement. For what it's worth, it mostly works fine with the exception of chroot --userspec and --setopt not being available.


Note You need to log in before you can comment on or make changes to this bug.