rpm-build/scripts/rpmlib.req.files.in
Dmitry V. Levin f8fb514ad6 Revert "rpmlib.req: generate rpmlib(PosttransFiletriggers) dependency for /usr/lib/rpm/*.filetrigger"
Disable automatic rpmlib(PosttransFiletriggers) requirements for M41.

This reverts commit 3a9f159460.
2008-11-25 15:37:14 +00:00

16 lines
325 B
Bash
Executable File

#!/bin/sh -efu
# Actually we can use "AutoReq: yes, norpmlib" in rpm.spec.
if [ "${RPM_PACKAGE_NAME-}" = rpm ]; then
echo "${0##*/}: rpmlib.req disabled for rpm itself" >&2
exit 0
fi
while IFS=$'\t' read -r f t; do
case "$f" in
${RPM_BUILD_ROOT-}@RPMCONFIGDIR@/*.filetrigger) ;;
*) continue ;;
esac
echo "$f"
done