Bug 29894 - systemd pkg-config file should be moved from -devel subpackage to main package
Summary: systemd pkg-config file should be moved from -devel subpackage to main package
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Thomas Backlund
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-01-15 13:41 CET by Guillaume Rousse
Modified: 2022-02-17 19:46 CET (History)
2 users (show)

See Also:
Source RPM: systemd
CVE:
Status comment:


Attachments

Description Guillaume Rousse 2022-01-15 13:41:45 CET
pkg-config files are usually shipped in developement subpackage, because they are mainly needed to build software against a given library, which is quite specialised usage.

However, in the case of systemd, it may also be used by manual installation of any software trying to identify unit files location dynamically (pkg-config systemd --variable systemdsystemunitdir), which is closer of using systemd than building against it.

For this reason, it makes sense to move this file into the main runtime package, as Fedora does, for instance.
Comment 1 Lewis Smith 2022-01-15 21:05:14 CET
Passing this to tmb.

Source RPM: sytemd => systemd
Assignee: bugsquad => tmb

Comment 2 Thomas Backlund 2022-01-16 20:12:44 CET
Agreed.

Done in systemd-250.2-1.mga9 currently pushed to Cauldron Core Updates Testing

Resolution: (none) => FIXED
Status: NEW => RESOLVED

Comment 3 David Walser 2022-01-26 00:07:04 CET
This breaks everything that BuildRequires: pkgconfig(systemd) and actually needs systemd-devel.
Comment 4 Thomas Backlund 2022-01-26 11:17:53 CET
Yep. switching the deps from pkgconfig(systemd) to pkgconfig(libsystemd) fixes builds
Comment 5 Thierry Vignaud 2022-02-14 15:58:40 CET
This switch should be automated in all our spec files else we get random failures when rebuilding packages

CC: (none) => thierry.vignaud

Comment 6 Dan Fandrich 2022-02-17 19:45:19 CET
I've updated all remaining BuildRequires and Requires at Thomas' request.

CC: (none) => dan

Comment 7 Thomas Backlund 2022-02-17 19:46:42 CET
Thanks Dan.

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