aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xfind-provides.in11
-rwxr-xr-xfind-requires.in15
2 files changed, 24 insertions, 2 deletions
diff --git a/find-provides.in b/find-provides.in
index 8f32dad..3f93304 100755
--- a/find-provides.in
+++ b/find-provides.in
@@ -63,7 +63,16 @@ done | sort -u
[ -x @RPMVENDORDIR@/php.prov ] &&
echo "$filelist" | tr '[:blank:]' \\n | @RPMVENDORDIR@/php.prov | sort -u
-
+#
+# --- Pkgconfig deps
+[ -x @RPMLIBDIR@/pkgconfigdeps.sh ] &&
+ echo "$filelist" | tr '[:blank:]' \\n | @RPMLIBDIR@/pkgconfigdeps.sh -P | sort -u
+
+#
+# --- libtooldep deps
+[ -x @RPMLIBDIR@/libtooldeps.sh ] &&
+ echo "$filelist" | tr '[:blank:]' \\n | @RPMLIBDIR@/libtooldeps.sh -P | sort -u
+
#
# --- .so files.
for i in `echo $filelist | tr '[:blank:]' "\n" | egrep '(/usr(/X11R6)?)?/lib(|64)(/gcc(-lib)?/.+)?/[^/]+\.so$'`; do
diff --git a/find-requires.in b/find-requires.in
index c03eba5..79abe2c 100755
--- a/find-requires.in
+++ b/find-requires.in
@@ -191,7 +191,20 @@ fi
# --- Php modules.
[ -x @RPMVENDORDIR@/php.req ] && \
echo $filelist | tr '[:blank:]' \\n | @RPMVENDORDIR@/php.req | sort -u
-
+
+if [ -n "$REQRPM446" ]; then
+#
+# --- Pkgconfig deps
+[ -x @RPMLIBDIR@/pkgconfigdeps.sh ] &&
+ echo "$filelist" | tr '[:blank:]' \\n | @RPMLIBDIR@/pkgconfigdeps.sh -R | sort -u
+
+#
+# --- libtooldep deps
+[ -x @RPMLIBDIR@/libtooldeps.sh ] &&
+ echo "$filelist" | tr '[:blank:]' \\n | @RPMLIBDIR@/libtooldeps.sh -R | sort -u
+
+fi
+
#
# --- .so files.
for i in `echo $filelist | tr '[:blank:]' "\n" | egrep "(/usr(/X11R6)?)?/lib(|64)/[^/]+\.so$"`; do