Red Hat Bugzilla – Bug 1291263
packaging error: pkgconfig(udev) is provided by systemd, not by systemd-devel
Last modified: 2015-12-14 08:30:40 EST
Description of problem:
When using pkgconfig(udev) to install development files for udev (e.g. by using BuildRequires: pkgconfig(udev) in a .spec file), the main systemd package is installed instead of systemd-devel. This seems to be an error in Provides: generation by rpm, because it is not explicitly specified in systemd.spec.
Version-Release number of selected component (if applicable):
$ sudo dnf download 'pkgconfig(udev)'
systemd-222-8.fc23.x86_64.rpm is downloaded
systemd-devel-222-8.fc23.x86_64.rpm is downloaded
The pkgconfig file is contained in systemd. udev.pc only contains the definition of udevdir.
You probably want libudev.pc, which is in systemd-devel. pkgconfig(libudev) is provided by systemd-devel.