MozillaFirefox/find-external-requires.sh
author Wolfgang Rosenauer <wr@rosenauer.org>
Sat, 04 Nov 2017 23:30:29 +0100
changeset 1005 6d716caa6abe
parent 279 eb9e33036fb4
permissions -rw-r--r--
57.0b14 rebased patches to apply cleanly (left out mozilla-ucontext.patch and mozilla-language.patch for now)

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