MozillaFirefox/find-external-requires.sh
author Joop Boonen <joop.boonen@opensuse.org>
Sun, 22 Jan 2012 13:11:39 +0100
changeset 371 ead21d122ed0
parent 279 eb9e33036fb4
permissions -rw-r--r--
introduce --disable-neon option and use on ARM

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