xulrunner/find-external-requires.sh
author Wolfgang Rosenauer <wr@rosenauer.org>
Tue, 30 Oct 2012 14:20:56 +0100
changeset 573 71cf05d3ee57
parent 325 f5966ab369fb
permissions -rw-r--r--
added mozilla-gstreamer-803287.patch (TM: mozilla19) as replacement for mozilla-gstreamer.patch - reworked mozilla-gstreamer-760140.patch on top of that

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