Bug 811158 - spec file has incorrect BuildRequires prerequisite
Summary: spec file has incorrect BuildRequires prerequisite
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: python-zope-interface
Version: el5
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Felix Schwarz
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-04-10 10:06 UTC by Jonathan Barber
Modified: 2014-11-04 12:32 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-11-04 12:32:28 UTC
Type: Bug


Attachments (Terms of Use)

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.


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