LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File find-external-requires.sh of Package seamonkey.368 (Project openSUSE:12.1:Update)

#!/bin/sh
# Finds requirements provided outside of the current file set

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