Avoid some rpminspect failures in gating

- badfuncs - skip false positives
- specname and runpath: adapt to how is the GTS collection designed
This commit is contained in:
Václav Kadlčík 2024-09-10 11:59:25 +02:00
parent 0aafb50050
commit 14e354e0a1

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-14/root/usr/lib64
- /opt/rh/gcc-toolset-14/root/usr/lib