MozillaFirefox/find-external-requires.sh
author Wolfgang Rosenauer <wr@rosenauer.org>
Mon, 16 Apr 2012 14:56:32 +0200
changeset 425 e840ed7d6878
parent 279 eb9e33036fb4
permissions -rw-r--r--
added mozilla-gcc47.patch to fix build issues when compiled with gcc 4.7

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