MozillaFirefox/find-external-requires.sh
author Wolfgang Rosenauer <wr@rosenauer.org>
Thu, 24 Oct 2013 19:10:50 +0200
branchesr24
changeset 678 d0329e10d68c
parent 279 eb9e33036fb4
permissions -rw-r--r--
prepare 24.1.0esr releases

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