redhat-rpm-config/SOURCES/libsymlink.attr

6 lines
271 B
Plaintext

# Make libfoo.so symlinks require the soname-provide of the target library
%__libsymlink_requires %{_rpmconfigdir}/elfdeps --provides --soname-only
%__libsymlink_magic ^symbolic link to .*lib.*\\.so\\..*$
%__libsymlink_path ^.*\\.so$
%__libsymlink_flags magic_and_path