!114 [sync] PR-102: add clang compile support

From: @openeuler-sync-bot 
Reviewed-by: @zhujianwei001 
Signed-off-by: @zhujianwei001
This commit is contained in:
openeuler-ci-bot 2024-03-25 11:40:16 +00:00 committed by Gitee
commit ee6bb92aed
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: 1
Release: 2
License: GPLv2+ and LGPLv2+
URL: https://people.redhat.com/sgrubb/audit/
Source0: https://people.redhat.com/sgrubb/audit/%{name}-%{version}.tar.gz
@ -104,7 +104,7 @@ autoreconf -f -i
%endif
--enable-systemd
make CFLAGS="%{optflags}" %{?_smp_mflags}
make CC=%{__cc} CFLAGS="%{optflags}" %{?_smp_mflags}
%install
mkdir -p $RPM_BUILD_ROOT/{sbin,etc/audit/plugins.d,etc/audit/rules.d}
@ -359,6 +359,9 @@ fi
%attr(644,root,root) %{_mandir}/man8/*.8.gz
%changelog
* Thu Feb 1 2024 liyunfei<liyunfei33@huawei.com> - 1:3.1.2-2
- add clang compile support
* Thu Jan 25 2024 zhengxiaoxiao<zhengxiaoxiao2@huawei.com> - 1:3.1.2-1
- update version to 3.1.2
- When processing a run level change, make auditd exit