On Mon, Jan 31, 2022 at 05:20:39PM +0100, Kevin Kofler via devel wrote: > Zbigniew Jędrzejewski-Szmek wrote: > > 3. We autogenerate a dependency on /usr/bin/pkg-config for -devel. > > Logic is reversed here: the -devel package **provides** something > > that it consumed by pkg-config. Dependencies are from a consumer to > > the providing entity. > > The idea there is that packages that BR a library that uses pkg-config will > often expect to be able to find it using pkg-config, so that dependency > ensures that it is installed. Well, that is the reverse of how we do things in general. If I want to look for libraries using pkg-config, I install pkg-config. If I want to look for libraries using 'gcc test.c -lfoo', then I install gcc. What we have now is like saying that .h files should depend on gcc because you use gcc to consume them. > Reversing the dependency would make no sense, because we cannot have pkg- > config depend on every single library that ships a .pc file. Of course. There should be no dependency. Zbyszek _______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure