2009-07-21 12:08:52 +02:00
|
|
|
#!/bin/sh
|
|
|
|
# Finds requirements provided outside of the current file set
|
|
|
|
|
2011-06-20 11:37:54 +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
|