mozilla-xulrunner192/find-external-requires.sh
author Wolfgang Rosenauer <wr@rosenauer.org>
Fri, 12 Aug 2011 08:47:59 +0200
branchmozilla-1.9.2
changeset 299 9a09a02dff60
parent 278 436c76ab5f25
permissions -rw-r--r--
update to 1.9.2.20/3.6.20 mozilla-implicit-declarations.patch fixes gcc rpmlint issue mozilla-curl.patch removes obsolete header dependency needed

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