From a7bb8b7eb83291c067a4cde0de314e068a8b06a774ffdf0318bd627c3f8fe64d Mon Sep 17 00:00:00 2001
From: Jan Engelhardt <jengelh@inai.de>
Date: Wed, 27 Apr 2022 12:47:54 +0000
Subject: [PATCH] - Add libuna-rpmlintrc for shlib-policy-name-error

OBS-URL: https://build.opensuse.org/package/show/security:forensics/libuna?expand=0&rev=25
---
 libuna-rpmlintrc | 2 ++
 libuna.changes   | 5 +++++
 libuna.spec      | 1 +
 3 files changed, 8 insertions(+)
 create mode 100644 libuna-rpmlintrc

diff --git a/libuna-rpmlintrc b/libuna-rpmlintrc
new file mode 100644
index 0000000..a0530d7
--- /dev/null
+++ b/libuna-rpmlintrc
@@ -0,0 +1,2 @@
+# guideline does not cover multibuild
+addFilter("libuna1-mini.\S+: E: shlib-policy-name-error SONAME:.*")
diff --git a/libuna.changes b/libuna.changes
index 2106cb7..519a82d 100644
--- a/libuna.changes
+++ b/libuna.changes
@@ -1,3 +1,8 @@
+-------------------------------------------------------------------
+Wed Apr 27 12:43:22 UTC 2022 - Jan Engelhardt <jengelh@inai.de>
+
+- Add libuna-rpmlintrc for shlib-policy-name-error
+
 -------------------------------------------------------------------
 Sun Jan  2 21:30:14 UTC 2022 - Jan Engelhardt <jengelh@inai.de>
 
diff --git a/libuna.spec b/libuna.spec
index 15ee1e4..15722ea 100644
--- a/libuna.spec
+++ b/libuna.spec
@@ -34,6 +34,7 @@ URL:            https://github.com/libyal/libuna/
 Source:         https://github.com/libyal/libuna/releases/download/%version/libuna-alpha-%version.tar.gz
 Source2:        https://github.com/libyal/libuna/releases/download/%version/libuna-alpha-%version.tar.gz.asc
 Source3:        libuna.keyring
+Source99:       libuna-rpmlintrc
 Patch1:         system-libs.patch
 BuildRequires:  c_compiler
 BuildRequires:  gettext-tools >= 0.18.1