!164 remove copy audit.h in spec

From: @xuraoqing 
Reviewed-by: @zhujianwei001 
Signed-off-by: @zhujianwei001
This commit is contained in:
openeuler-ci-bot 2025-05-16 02:41:23 +00:00 committed by Gitee
commit 3ac42501d9
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -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 <xuraoqing@huawei.com> - 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 <xuraoqing@huawei.com> - 1:3.1.2-8
- backport patches from upstream