aboutsummaryrefslogtreecommitdiffstats
path: root/find-provides.in
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2014-09-15 11:50:26 +0200
committerThierry Vignaud <thierry.vignaud@gmail.com>2014-09-15 11:53:08 +0200
commit3fd364db6daa1ce975e9d3ba45c610910fcf8951 (patch)
tree8d951977841cfa831f59a8cc002bc8318b62eb4a /find-provides.in
parent294df82f209c30c736907be119ff7b81e5b8b302 (diff)
downloadrpm-setup-3fd364db6daa1ce975e9d3ba45c610910fcf8951.tar
rpm-setup-3fd364db6daa1ce975e9d3ba45c610910fcf8951.tar.gz
rpm-setup-3fd364db6daa1ce975e9d3ba45c610910fcf8951.tar.bz2
rpm-setup-3fd364db6daa1ce975e9d3ba45c610910fcf8951.tar.xz
rpm-setup-3fd364db6daa1ce975e9d3ba45c610910fcf8951.zip
use rpmdeps to generate any "normal" dependencies
in case someone disables internal deps generator
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