#!/bin/sh -efu . @RPMCONFIGDIR@/functions list=$(grep ^/. @RPMCONFIGDIR@/files.req.list) FilesReq() { local f="$1" d=; shift for d in $list; do case "$f" in "${RPM_BUILD_ROOT-}$d"/*) echo "$d" ;; esac done } ArgvFileAction FilesReq "$@"