Bug 811158

Summary: spec file has incorrect BuildRequires prerequisite
Product: [Fedora] Fedora EPEL Reporter: Jonathan Barber <jonathan.barber>
Component: python-zope-interfaceAssignee: Felix Schwarz <fschwarz>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: el5CC: dmalcolm, fschwarz, paul
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-11-04 12:32:28 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Jonathan Barber 2012-04-10 10:06:44 UTC
Description of problem:
The python-zope-interfaces spec file has a BuildRequires of:
BuildRequires:	python-devel python-setuptools-devel

But I don't think RHEL5 has a python-setuptools-devel package. This causes the package to fail to build on RHEL5.

Version-Release number of selected component (if applicable):
zope-interface-3.0.1-11.el5

How reproducible:
Always.

Steps to Reproduce:
1. Download the SRPM from http://dl.fedoraproject.org/pub/epel/5/SRPMS/python-zope-interface-3.0.1-11.el5.src.rpm to a RHEL5 machine
2. Try to build it: rpmbuild --rebuild python-zope-interface-3.0.1-11.el5.src.rpm

Actual results:

error: Failed build dependencies:
	python-setuptools-devel is needed by python-zope-interface-3.0.1-11.x86_64

Expected results:
The build should succeed.

Additional info:
For RHEL5 I think the BuildRequire line should be:
BuildRequires:	python-devel python-setuptools

Comment 1 Felix Schwarz 2014-11-04 12:32:28 UTC
fixed in 91e718e.

No new build as this is only a FTBFS and I guess everyone who is interested could grab the package from git. If we need to update the package later on it'll build cleanly at least.