Modify __libsymlink_exclude_path to exclude path - add ^/usr/lib/debug
[platform/upstream/rpm.git] / packaging / libsymlink.attr
index ecaa9b4..18bc552 100644 (file)
@@ -1,4 +1,4 @@
 # 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/