brp-cleanup: remove lib*.la files from /lib, /usr/lib, and /usr/X11R6/lib

This commit is contained in:
Дмитрий Левин 2003-11-25 15:09:47 +00:00
parent bf53120f79
commit 658b8c8d67

View File

@ -75,7 +75,7 @@ s,\([[:space:]]\)required[[:space:]]\+pam_stack.so[[:space:]]\+service=,\1includ
' --
fi
for d in /lib /usr/lib /usr/X11R6/lib; do
for d in ./lib ./usr/lib ./usr/X11R6/lib; do
[ -d "$d" ] || continue
find "$d" -type f -mindepth 1 -maxdepth 1 -name 'lib*.la' -print0 |
xargs -r0 rm -fv --