MozillaFirefox/find-external-requires.sh
author Wolfgang Rosenauer <wr@rosenauer.org>
Wed, 25 Apr 2012 09:22:47 +0200
branchfirefox13
changeset 434 c50d6cb495a0
parent 279 eb9e33036fb4
permissions -rw-r--r--
manually merge changes from release channel updated release data in spec file

#!/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