6dd0803866
1) added scripts/shell.req.files and scripts/shell.prov.files. scripts/shell.req.files has new patterns for '/usr/bin/env bash' and '/bin/ash'. 2) adapted scripts/shell.req.in and scripts/shell.prov.in by using ArgvFileAction. Also made them work with empty RPM_BUILD_ROOT. Note: now shell.req produces dependencies from .provides.sh even if the latter is inside RPM_BUILD_ROOT. The reason is that .provides.sh and the script can reside in two different subpackages (and otherwise, rpm will optimize out the dependency). 3) removed corresponding old code from autodeps/linux.req.in and autodeps/linux.prov.in.
8 lines
106 B
Bash
Executable File
8 lines
106 B
Bash
Executable File
#!/bin/sh -efu
|
|
while IFS=$'\t' read -r f t; do
|
|
case "$f" in
|
|
*/.provides.sh)
|
|
echo "$f" ;;
|
|
esac
|
|
done
|