Red Hat Bugzilla – Bug 625317
device-mapper-devel package incorrectly requires device-mapper, when it should probably only need device-mapper-libs, not both
Last modified: 2010-08-19 08:00:14 EDT
Description of problem:
Description is in the summary.
Error: Package: device-mapper-devel-1.02.44-1.fc13.i686 (fedora)
Requires: device-mapper = 1.02.44-1.fc13
repoquery --list device-mapper shows no files device-mapper-devel needs.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
The dependencies are kept minimal. You need the udev files in place to make any use of device-mapper in Fedora now, we will not support any users without dmsetup being installed anyway and the documentation files have to be there too.
I have device-mapper installed, just not a version yum-builddep on anaconda.src.rpm file wanted. I don't see how needing device-mapper-devel to build anaconda against requires device-mapper at all.
Fedora doesn't distinguish between packages installed only to be built against and packages installed actually to be used. You'd need a way to distinguish between 'install this package to compile against but I promise I will never actually run any of the contents because I know there are dependencies missing and things will break if I try that' and 'install this package actually to be used including all its runtime requirements'.
If you know what you are doing, manage the dependencies yourself with --nodeps.