# 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_exclude_path ^.*[[:digit:]]
+%__libsymlink_exclude_path ^.*[[:digit:]\]$|^/usr/lib/debug/