From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.4.2) Gecko/20040308 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): Pyrex-0.9.2.1-1 How reproducible: Always 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 Please apply
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.