Bug 1291263 - packaging error: pkgconfig(udev) is provided by systemd, not by systemd-devel
Summary: packaging error: pkgconfig(udev) is provided by systemd, not by systemd-devel
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: systemd
Version: 23
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: systemd-maint
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-12-14 13:01 UTC by Fabio Valentini
Modified: 2015-12-14 13:30 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-12-14 13:30:40 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Fabio Valentini 2015-12-14 13:01:54 UTC
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):
systemd-222-8.fc23.x86_64.rpm

How reproducible:
$ sudo dnf download 'pkgconfig(udev)'

Actual results:
systemd-222-8.fc23.x86_64.rpm is downloaded

Expected results:
systemd-devel-222-8.fc23.x86_64.rpm is downloaded

Comment 1 Zbigniew Jędrzejewski-Szmek 2015-12-14 13:30:40 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.