xulrunner/find-external-requires.sh
author Wolfgang Rosenauer <wr@rosenauer.org>
Thu, 17 Apr 2014 23:33:07 +0200
changeset 718 6cb1ac7cd223
parent 325 f5966ab369fb
permissions -rw-r--r--
prepare Aurora 30 - rebasing and removing obsolete stuff - no build tested yet

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