summaryrefslogtreecommitdiff
path: root/scripts/find-provides.perl
blob: d32ebfa2e00e958b29b461c387dc375814a519b3 (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh

filelist=`sed "s/['\"]/\\\&/g"`

{	echo $filelist | tr [:blank:] \\n | /usr/lib/rpm/find-provides
#
# Generate perl module dependencies, if any.
    [ -x /usr/lib/rpm/perl.prov ] && \
	echo $filelist | tr [:blank:] \\n | /usr/lib/rpm/perl.prov
} | sort -u