Dmitry V. Levin
f8fb514ad6
Disable automatic rpmlib(PosttransFiletriggers) requirements for M41.
This reverts commit 3a9f159460
.
16 lines
325 B
Bash
Executable File
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
|