On ma, 13 elo 2018, Robert Marcano wrote:
On 08/13/2018 06:17 AM, Graham Leggett wrote:
On 11 Aug 2018, at 20:58, Robert Marcano <robert@xxxxxxxxxxxxxxxxx> wrote:
Current *-devel packages tend to pull a lot of dependencies, probably to make developers life easier, but I think some of them are not needed.
Do you think they’re not needed, or are you sure they’re not needed?
I think and find occurrences of this, another example:
# rpm -q --requires krb5-devel | grep libselinux-devel
libselinux-devel
but an application using krb5-devel doesn't need to link with selinux
directly. Another email on this thread point that some are needed for
headers, but krb5-devel headers doesn't includes selinux headers
# rpm -ql krb5-devel | grep \\.h$ | xargs grep -l selinux
<None>
# grep Requires.private /usr/lib64/pkgconfig/libselinux.pc
Requires.private: libsepol libpcre2-8
You are mixing up two separate use cases:
-- libkrb5 builds with SELinux support.
-- libkrb5 users depend on SELinux
In case of krb5-libs, there is internally SELinux support and SELinux
headers are needed during the package build. However, users of krb5-libs
do not need to link against SELinux libraries themselves unless they are
SELinux-aware.
This is a fairly common use case. For example, Samba provides VFS
modules to use glusterfs. However, samba-devel does not provide nor
require any headers related to gluster.
--
/ Alexander Bokovoy
Sr. Principal Software Engineer
Security / Identity Management Engineering
Red Hat Limited, Finland
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx/message/GUQTVIVNNFZYKYI2YYYUNXRMDYBPHK3W/