Add rpminspect.yaml

Resolves: RHEL-88090
This commit is contained in:
Lenka Špačková 2025-05-06 11:36:06 +02:00
parent 9d9a99c0b2
commit 174594865e

22
rpminspect.yaml Normal file
View File

@ -0,0 +1,22 @@
badfuncs:
# GCC doesn't use the "forbidden" functions as such. Just some of its
# sanitizers can instrument those functions which leads to false
# positives in the badfuncs test.
ignore:
- /usr/lib*/libasan.so.*.*.*
- /usr/lib*/libtsan.so.*.*.*
specname:
# In GCC toolsets builds, the spec file name and the package are not
# exactly the same, the package is prefixed with gcc-toolset-NN-.
# Let's ignore the prefix.
match: suffix
primary: filename
runpath:
# Although gcc-toolset sanitizers link gcc-toolset libraries from
# /opt/..., they themselves are placed in /usr. The runpath test
# doesn't like this difference. Explicitly allow it.
allowed_paths:
- /opt/rh/gcc-toolset-13/root/usr/lib64
- /opt/rh/gcc-toolset-13/root/usr/lib