Bug 349871 - python-psyco needs to remove Requires: python-abi = line in spec
Summary: python-psyco needs to remove Requires: python-abi = line in spec
Keywords:
Status: CLOSED DEFERRED
Alias: None
Product: Fedora
Classification: Fedora
Component: python-psyco
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Ignacio Vazquez-Abrams
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-10-24 02:50 UTC by Matt Domsch
Modified: 2007-11-30 22:12 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2007-10-24 03:04:32 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Matt Domsch 2007-10-24 02:50:20 UTC
Description of problem:
For Fedora 8, python is no longer included in the default buildroot.  By having
a line in the spec file:

Requires:   python-abi = %(%{__python} -c "import sys ; print sys.version[:3]")

when python isn't in the buildroot, that turns into an illegal Requires: line
(there's nothing after the equals sign), and rpmbuild fails.

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

How reproducible:
always

Steps to Reproduce:
1. mock rebuild python-psyco-1.5.1-5.fc7.src.rpm
  
Actual results:
build failure

Expected results:
build success

Additional info:

Comment 1 Ignacio Vazquez-Abrams 2007-10-24 03:04:32 UTC
The fix is in 1.5.1-6 but I'm not going to tag and build it since it doesn't
affect runtime capabilities.


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