From 3f6cb62f92815bc1a49805b643bf6527332067df Mon Sep 17 00:00:00 2001 From: Caspar Zhang Date: Wed, 16 Mar 2022 20:56:19 +0800 Subject: [PATCH] Also provide compatible name audit-libs-python3 python3-audit has another name in upstream: audit-libs-python3, also provide this name to enhance compatibility. Signed-off-by: Caspar Zhang --- audit.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/audit.spec b/audit.spec index 7ac588e..b321100 100644 --- a/audit.spec +++ b/audit.spec @@ -6,7 +6,7 @@ Name: audit Version: 3.0.7 -Release: 2%{dist} +Release: 3%{dist} Summary: User space tools for kernel auditing License: GPLv2+ Group: System Environment/Daemons @@ -55,6 +55,9 @@ Summary: Python3 bindings for libaudit License: LGPLv2+ BuildRequires: python3-devel swig Requires: %{name}-libs%{?_isa} = %{version}-%{release} +Provides: audit-libs-python3 = %{version}-%{release} +Provides: audit-libs-python3%{?_isa} = %{version}-%{release} +Obsoletes: audit-libs-python3 < %{version}-%{release} %description -n python3-audit The python3-audit package contains the bindings so that libaudit @@ -241,6 +244,9 @@ fi %attr(644,root,root) %{_mandir}/man8/audisp-statsd.8.gz %changelog +* Wed Mar 16 2022 Caspar Zhang 3.0.7-3 +- Also provide compatible name audit-libs-python3 + * Wed Mar 16 2022 Caspar Zhang 3.0.7-2 - Apply flex array workaround from upstream -- Gitee