summaryrefslogtreecommitdiff
path: root/autodeps
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2000-12-12 20:03:45 +0000
committerjbj <devnull@localhost>2000-12-12 20:03:45 +0000
commitdb32ab6bea1b635129820d6b628e6156c61b5385 (patch)
tree055f7ee7d5e06ba0b3e858b82f639310b892503d /autodeps
parent2e9d2616969433851a1c883c900d6ea5acde67b7 (diff)
downloadlibrpm-tizen-db32ab6bea1b635129820d6b628e6156c61b5385.tar.gz
librpm-tizen-db32ab6bea1b635129820d6b628e6156c61b5385.tar.bz2
librpm-tizen-db32ab6bea1b635129820d6b628e6156c61b5385.zip
Sync with rpm-4_0 branch.
CVS patchset: 4338 CVS date: 2000/12/12 20:03:45
Diffstat (limited to 'autodeps')
-rw-r--r--autodeps/sparc-linux.prov4
1 files changed, 2 insertions, 2 deletions
diff --git a/autodeps/sparc-linux.prov b/autodeps/sparc-linux.prov
index a637b874e..fa9511357 100644
--- a/autodeps/sparc-linux.prov
+++ b/autodeps/sparc-linux.prov
@@ -8,8 +8,8 @@ filelist=$(grep "\\.so" | grep -v "^/lib/ld.so" | xargs file -L 2>/dev/null | gr
for f in $filelist; do
soname=$(objdump -p $f | awk '/SONAME/ {print $2}')
+ lib64=`if file -L $f 2>/dev/null | grep "ELF 64-bit" >/dev/null; then echo "()(64bit)"; fi`
if [ "$soname" != "" ]; then
- lib64=`if file -L $f 2>/dev/null | grep "ELF 64-bit" >/dev/null; then echo "()(64bit)"; fi`
if [ ! -L $f ]; then
echo $soname$lib64
objdump -p $f | awk '
@@ -24,6 +24,6 @@ for f in $filelist; do
done
fi
else
- echo ${f##*/}
+ echo ${f##*/}$lib64
fi
done | sort -u