Red Hat Bugzilla – Bug 130200
Pyrex has missing dependency
Last modified: 2013-03-13 00:46:31 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.4.2)
Description of problem:
When Pyrex is used, it needs to have python-devel available to it.
Building dbus, for example, doesn't work unless there is a Requires:
python-devel against the package.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. rpm -e python-devel
2. rpmbuild -bb dbus.spec
Actual Results: Message saying headers weren't found.
Expected Results: A message saying where the dbus rpm was written.
Additional info: I will attach a patch that addresses this.
Created attachment 102814 [details]
Patch that adds the Requires
This should be a BuildRequires for dbus but since Pyrex is a
development library I see no problem requiring python-devel for Pyrex.
Patch accepted. Thanks.
Can you think of any other package that uses Pyrex in its build
process? Does Pyrex complete its job for that package even without
python-devel being installed? If the answer is yes, a package does
indeed use Pyrex to build and does not need python-devel, then I would
agree that it is a BuildRequires against dbus.
However, if no package that uses Pyrex can be built without also
needing python-devel, then its far easier to put the Requires here and
just be done with it. Otherwise you have to add it to all packages
that use Pyrex.
No other packages in Fedora use Pyrex. Anyway it is a moot point
since I have accepted the patch and feel there are good reasons for
having it in here.
Built. Closing bug.