Red Hat Bugzilla – Bug 809001
-devel subpackage should require dbus-devel
Last modified: 2012-04-16 22:49:19 EDT
Description of problem:
The pkg-config script provided by at-spi2-core-devel package requires "dbus-1". However, "yum install at-spi2-core-devel" does not pull the package providing "dbus-1".
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. in mock or minimal installation, do yum install at-spi2-core-devel
2. pkg-config atspi-2 --libs
Package dbus-1 was not found in the pkg-config search path.
Perhaps you should add the directory containing `dbus-1.pc'
to the PKG_CONFIG_PATH environment variable
Package 'dbus-1', required by 'atspi', not found
zsh: exit 1 pkg-config atspi-2 --libs
-L/lib64 -latspi -ldbus-1 -lpthread -lrt
pkg-config deps are automatically handled by rpmbuild.
Latest at-spi2-core-devel-2.4.1-1.fc17.x86_64.rpm  has automatically generated Requires: pkgconfig(dbus-1). The matching virtual Provides are in dbus-devel:
$ repoquery -q --whatprovides 'pkgconfig(dbus-1)'
I can't see anything wrong with the deps; everything seems to be working as it is supposed to be.
(In reply to comment #1)
> pkg-config deps are automatically handled by rpmbuild.
> I can't see anything wrong with the deps; everything seems to be working as it
> is supposed to be.
Sorry, you are right. Probably there was something wrong in my local mock setup.