MozillaFirefox/find-external-requires.sh
author Wolfgang Rosenauer <wr@rosenauer.org>
Tue, 21 Feb 2012 20:51:21 +0100
changeset 398 937669e1c537
parent 279 eb9e33036fb4
permissions -rw-r--r--
ported and reenabled KDE integration (bnc#746591) explicitely build-require xorg-x11-devel

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