f0ec810739
Moved old code from find-requires and find-provides to lib.req and lib.prov. For some reason, also a few python-related lines was removed. Adapted lib.req and lib.prov to work without RPM_BUILD_ROOT. In lib.prov, simplified RPM_FINDPROV_LIB_PATH handling (replaced `lookup_path "$dir" "$PATH"' with `[ -z "${PATH##* $dir *}" ]'). Added lib.req.files and lib.prov.files.
8 lines
114 B
Bash
Executable File
8 lines
114 B
Bash
Executable File
#!/bin/sh -efu
|
|
while IFS=$'\t' read -r f t; do
|
|
case "$t" in
|
|
*ELF*" shared object"*)
|
|
echo "$f" ;;
|
|
esac
|
|
done
|