xulrunner/find-external-requires.sh
author Wolfgang Rosenauer <wr@rosenauer.org>
Sun, 16 Mar 2014 10:38:59 +0100
changeset 710 5341dc98d26c
parent 325 f5966ab369fb
permissions -rw-r--r--
update of PPC64LE patches taken from https://build.opensuse.org/request/show/224301

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