Bug 744732

Summary: Mock's spec file erroneously requires python >= 2.6
Product: [Fedora] Fedora EPEL Reporter: Davi Arnaut <davi>
Component: mockAssignee: Clark Williams <williams>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: el6CC: mebrown, williams
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-10-12 22:06:49 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

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.