diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2014-09-15 11:50:26 +0200 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2014-09-15 11:53:08 +0200 |
commit | 3fd364db6daa1ce975e9d3ba45c610910fcf8951 (patch) | |
tree | 8d951977841cfa831f59a8cc002bc8318b62eb4a /find-provides.in | |
parent | 294df82f209c30c736907be119ff7b81e5b8b302 (diff) | |
download | rpm-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-x | find-provides.in | 5 |
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 |