# Walk through all file files and see what we have got here.
while read file; do
case "${file}" in
+ */usr/lib/debug/*|*/usr/src/debug/*)
+ # Skip all debuginfo files.
+ continue
+ ;;
*/usr/lib*/python*/*.so*)
# Do not show python shared objects in provides list.
;;
+ */usr/lib*/gconv/*)
+ # Skip gconv files.
+ continue
+ ;;
*.so*)
+ # Skip symlinks for performance reasons.
+ [ -L "${file}" ] && continue
+
file_is_elf ${file} >/dev/null 2>&1 && \
binary_files="${binary_files} ${file}"
;;
# Search for SONAMEs in all binary files.
for file in ${binary_files}; do
- [ -L ${file} ] && continue
-
soname=$(file_get_soname ${file})
# If the files does not have a SONAME, we will
case "${file}" in
*/usr/lib/debug/*|*/usr/src/debug/*)
# Skip all debuginfo files.
+ continue
+ ;;
+ */usr/lib*/gconv/*)
+ # Skip all gconv files.
+ continue
;;
*.ko)
# Skip all kernel modules because they do not
# Python
*/usr/lib*/python*/*)
# Sort out all python files.
+ # Directories are processed bewlow.
;;
*/usr/lib/python*|*/usr/lib64/python*)
# This will only get the python directory.