changeset 1031 | 4b419fce88dc |
parent 1024 | d14085eee2b2 |
parent 1030 | cd02d400c081 |
child 1032 | 8220ea23b47d |
1024:d14085eee2b2 | 1031:4b419fce88dc |
---|---|
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 |