2011-06-08 13:40:45 +02:00
|
|
|
Index: autodeps/linux.prov
|
|
|
|
===================================================================
|
|
|
|
--- autodeps/linux.prov.orig 2011-06-08 13:31:39.000000000 +0200
|
|
|
|
+++ autodeps/linux.prov 2011-06-08 13:31:39.191646314 +0200
|
2010-04-13 21:06:36 +02:00
|
|
|
@@ -11,7 +11,7 @@ filelist=($(printf "%s\n" "${filelist[@]
|
|
|
|
solist=($(printf "%s\n" "${filelist[@]}" | grep "\\.so" | grep -v "^/lib/ld.so" | \
|
|
|
|
tr '\n' '\0' | xargs -0 -r file -L | grep "ELF.*shared object" | \
|
|
|
|
cut -d: -f1))
|
|
|
|
-pythonlist=
|
|
|
|
+pythonlist=($(printf "%s\n" "${filelist[@]}" | egrep '/usr/bin/python.\..$'))
|
|
|
|
tcllist=
|
|
|
|
monolist=($(printf "%s\n" "${filelist[@]}" | egrep "\\.(exe|dll)\$"))
|
2011-06-08 13:40:45 +02:00
|
|
|
firmwarelist=($(printf "%s\n" "${filelist[@]}" | grep "/lib/firmware/"))
|
|
|
|
@@ -54,8 +54,8 @@ done | sort -u
|
2010-04-13 21:06:36 +02:00
|
|
|
|
|
|
|
#
|
|
|
|
# --- Python modules.
|
|
|
|
-[ -x /usr/lib/rpm/python.prov -a -n "$pythonlist" ] &&
|
|
|
|
- printf "%s\n" "${pythonlist[@]}" | /usr/lib/rpm/python.prov | sort -u
|
|
|
|
+[ -x /usr/lib/rpm/pythondeps.sh -a -n "$pythonlist" ] &&
|
|
|
|
+ printf "%s\n" "${pythonlist[@]}" | /usr/lib/rpm/pythondeps.sh -P | sort -u
|
|
|
|
|
|
|
|
#
|
|
|
|
# --- Tcl modules.
|
2011-06-08 13:40:45 +02:00
|
|
|
Index: autodeps/linux.req
|
|
|
|
===================================================================
|
|
|
|
--- autodeps/linux.req.orig 2011-06-08 13:31:38.000000000 +0200
|
|
|
|
+++ autodeps/linux.req 2011-06-08 13:31:39.191646314 +0200
|
2011-05-16 18:07:44 +02:00
|
|
|
@@ -31,7 +31,7 @@ liblist=($(printf "%s\0" "${filelist[@]}
|
2010-04-13 21:06:36 +02:00
|
|
|
|
|
|
|
interplist=()
|
|
|
|
perllist=()
|
|
|
|
-pythonlist=()
|
|
|
|
+pythonlist=($(printf "%s\n" "${filelist[@]}" | egrep '/usr/lib[^/]*/python.\..'))
|
|
|
|
tcllist=()
|
|
|
|
monolist=($(printf "%s\n" "${filelist[@]}" | egrep "\\.(exe|dll)(\\.config)?\$"))
|
|
|
|
|
2011-05-16 18:07:44 +02:00
|
|
|
@@ -127,8 +127,8 @@ done | sort -u
|
2010-04-13 21:06:36 +02:00
|
|
|
|
|
|
|
#
|
|
|
|
# --- Python modules.
|
|
|
|
-[ -x /usr/lib/rpm/python.req -a -n "$pythonlist" ] && \
|
|
|
|
- printf "%s\n" "${pythonlist[@]}" | /usr/lib/rpm/python.req | sort -u
|
|
|
|
+[ -x /usr/lib/rpm/pythondeps.sh -a -n "$pythonlist" ] && \
|
|
|
|
+ printf "%s\n" "${pythonlist[@]}" | /usr/lib/rpm/pythondeps.sh -R | sort -u
|
|
|
|
|
|
|
|
#
|
|
|
|
# --- Tcl modules.
|