aboutsummaryrefslogtreecommitdiffstats
path: root/find-provides.in
diff options
context:
space:
mode:
Diffstat (limited to 'find-provides.in')
-rwxr-xr-xfind-provides.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/find-provides.in b/find-provides.in
index 8c82209..598e099 100755
--- a/find-provides.in
+++ b/find-provides.in
@@ -8,4 +8,9 @@ filelist=`sed "s/['\"]/\\\&/g"`
# fix parsing output of objdump when localized (mga#7883):
export LC_ALL=C
+
+[ -x /usr/lib/rpm/rpmdeps -a -n "$filelist" ] &&
+ echo $filelist | tr '[:blank:]' \\n | /usr/lib/rpm/rpmdeps --provides
+
+
exit 0