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