MozillaFirefox/find-external-requires.sh
author Wolfgang Rosenauer <wr@rosenauer.org>
Sat, 16 Mar 2013 15:05:51 +0100
branchesr17
changeset 632 b83636a26466
parent 279 eb9e33036fb4
permissions -rw-r--r--
update to 17.0.4 fix 11.2-i586 build using lower optimization added OBS constraints

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