Avoid rpminspect "specname" failures in gating

The spec filename (dwz.spec) does not exactly match the name of the
package (gcc-toolset-14-dwz) which with the default rpminspect
configuration leads to:

  The spec file name does not match the expected NAME.spec
  format. Rename the spec file to conform to this policy.

Let's add a piece of configuration for rpminspect that would accept
the difference.
This commit is contained in:
Václav Kadlčík 2024-09-25 17:27:13 +02:00
parent 068565b07a
commit 8c47ca75e6

10
rpminspect.yaml Normal file
View File

@ -0,0 +1,10 @@
runpath:
allowed_paths:
- /usr/lib64
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 in the specname test.
match: suffix
primary: filename