pkgconfig.req.files: check for *" text"* type
$ ls /usr/lib/pkgconfig/*.pc >.1 $ ls /usr/lib/pkgconfig/*.pc |file -NF$'\t' -f - |./scripts/pkgconfig.req.files >.2 pkgconfig.req.files: /usr/lib/pkgconfig/libpng.pc: symbolic link to `libpng12.pc' $ diff -U1 .1 .2 --- .1 2007-08-28 18:26:10 +0400 +++ .2 2007-08-28 18:26:13 +0400 @@ -115,3 +115,2 @@ /usr/lib/pkgconfig/libpcre.pc -/usr/lib/pkgconfig/libpng.pc /usr/lib/pkgconfig/libpng12.pc $ Remember that symlinks are relevant only for find-requires. There is no such thing as symbolic links in find-provides.
This commit is contained in:
parent
c5dd9e98c3
commit
015636ebda
@ -2,9 +2,12 @@
|
||||
[ -n "${RPM_LIBDIR-}" ] || RPM_LIBDIR=`rpm --eval %_libdir`
|
||||
while IFS=$'\t' read -r f t; do
|
||||
case "$f" in
|
||||
${RPM_BUILD_ROOT-}/usr/share/pkgconfig/*.pc)
|
||||
echo "$f" ;;
|
||||
${RPM_BUILD_ROOT-}$RPM_LIBDIR/pkgconfig/*.pc)
|
||||
echo "$f" ;;
|
||||
${RPM_BUILD_ROOT-}/usr/share/pkgconfig/*.pc) ;;
|
||||
${RPM_BUILD_ROOT-}$RPM_LIBDIR/pkgconfig/*.pc) ;;
|
||||
*) continue ;;
|
||||
esac
|
||||
case "$t" in
|
||||
*" text"*) echo "$f" ;;
|
||||
*) echo "${0##*/}: $f: $t" >&2 ;;
|
||||
esac
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user