xulrunner/find-external-requires.sh
author Wolfgang Rosenauer <wr@rosenauer.org>
Sat, 26 Apr 2014 14:32:47 +0200
branchfirefox29
changeset 723 2917b25ec806
parent 325 f5966ab369fb
permissions -rw-r--r--
updated and reenabled mozilla-ppc64le-build.patch

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