rpm-build/scripts/files.req.files.in

5 lines
169 B
Bash
Executable File

#!/bin/sh -efu
dirlist=$(set +f; grep -h ^/. @RPMCONFIGDIR@/*-files.req.list |
while read -r d pkg; do echo "${d%/}"; done)
cut -f1 |fgrep "${dirlist:?}" || [ $? = 1 ]