summaryrefslogtreecommitdiff
path: root/autodeps
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2007-12-11 08:51:54 +0200
committerPanu Matilainen <pmatilai@redhat.com>2007-12-11 08:51:54 +0200
commitc68860f056ce6bb122b8fac469d07414e8caefdf (patch)
tree3f7258164a84df4576718224746d32410b1ddfc1 /autodeps
parent6a779c394b9ed70f7d7b45716b207ebae170f732 (diff)
downloadlibrpm-tizen-c68860f056ce6bb122b8fac469d07414e8caefdf.tar.gz
librpm-tizen-c68860f056ce6bb122b8fac469d07414e8caefdf.tar.bz2
librpm-tizen-c68860f056ce6bb122b8fac469d07414e8caefdf.zip
OS X Leopard fixes from Giulio Eulisse
Diffstat (limited to 'autodeps')
-rw-r--r--autodeps/darwin.prov2
1 files changed, 1 insertions, 1 deletions
diff --git a/autodeps/darwin.prov b/autodeps/darwin.prov
index 5064414be..b068912a3 100644
--- a/autodeps/darwin.prov
+++ b/autodeps/darwin.prov
@@ -5,7 +5,7 @@
# This script reads filenames from STDIN and outputs any relevant provides
# information that needs to be included in the package.
-filelist=$(sed -n -e '/\.dylib/p' -e '/\.so/p' -e '/\.bundle/p' | sort | uniq | xargs file -L 2>/dev/null | grep "Mach-O.*ppc" | cut -d: -f1)
+filelist=$(sed -n -e '/\.dylib/p' -e '/\.so/p' -e '/\.bundle/p' | sort | uniq | xargs file -L 2>/dev/null | grep "Mach-O.*\(ppc\|i386\)" | cut -d: -f1)
for f in $filelist; do
libname=$(basename $f | sed -e 's;\..*;;')