2008-03-26 16:01:54 +01:00
|
|
|
#!/bin/sh
|
|
|
|
# Finds requirements provided outside of the current file set
|
|
|
|
|
2011-06-15 17:00:40 +02:00
|
|
|
filelist=$( sed "s/[]['\"*?{}]/\\\\\&/g" )
|
|
|
|
provides=$( echo "$filelist" | /usr/lib/rpm/find-provides )
|
|
|
|
echo "$filelist" \
|
|
|
|
| /usr/lib/rpm/find-requires \
|
|
|
|
| grep -F -v "$provides" \
|
|
|
|
| sort -u
|