From 56eaeb13aac442095f16625d0b0e46715b14fd40 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=A1clav=20Kadl=C4=8D=C3=ADk?= Date: Wed, 25 Sep 2024 17:16:45 +0200 Subject: [PATCH] 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. --- rpminspect.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 rpminspect.yaml diff --git a/rpminspect.yaml b/rpminspect.yaml new file mode 100644 index 0000000..47bf58c --- /dev/null +++ b/rpminspect.yaml @@ -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