From c9b8d0dd5d612fdf72f4a8df6f3931a56f257b80 Mon Sep 17 00:00:00 2001 From: xuraoqing Date: Thu, 15 May 2025 12:20:43 +0800 Subject: [PATCH] remove copy audit.h in spec copy /usr/include/linux/audit.h to lib/ do not needed, while swig compile error with flex array has been fixed Signed-off-by: xuraoqing (cherry picked from commit 3e44a6250f5e9877b7ac753dc0e2e9e7d95abfc8) --- audit.spec | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/audit.spec b/audit.spec index 5943816..4571c7c 100644 --- a/audit.spec +++ b/audit.spec @@ -2,7 +2,7 @@ Summary: User space tools for kernel auditing Name: audit Epoch: 1 Version: 3.1.2 -Release: 8 +Release: 9 License: GPLv2+ and LGPLv2+ URL: https://people.redhat.com/sgrubb/audit/ Source0: https://people.redhat.com/sgrubb/audit/%{name}-%{version}.tar.gz @@ -122,7 +122,6 @@ libauparse can be used by python3. %prep %autosetup -n %{name}-%{version} -p1 cp %{SOURCE1} . -cp /usr/include/linux/audit.h lib/ autoreconf -f -i %build @@ -389,6 +388,9 @@ fi %attr(644,root,root) %{_mandir}/man8/*.8.gz %changelog +* Thu May 15 2025 xuraoqing - 1:3.1.2-9 +- copy audit.h do not needed, while swig compile error with flex array has been fixed + * Wed Feb 26 2025 xuraoqing - 1:3.1.2-8 - backport patches from upstream -- Gitee