changeset 325 | f5966ab369fb |
parent 249 | 7298a2e37ba3 |
316:a5e121de2e2f | 325:f5966ab369fb |
---|---|
1 #!/bin/sh |
|
2 # Finds requirements provided outside of the current file set |
|
3 |
|
4 filelist=$( sed "s/[]['\"*?{}]/\\\\\&/g" ) |
|
5 provides=$( echo "$filelist" | /usr/lib/rpm/find-provides ) |
|
6 echo "$filelist" \ |
|
7 | /usr/lib/rpm/find-requires \ |
|
8 | grep -F -v "$provides" \ |
|
9 | sort -u |