diff --git a/audit.spec b/audit.spec index 93f8b86..a44d46b 100644 --- a/audit.spec +++ b/audit.spec @@ -1,6 +1,6 @@ Name: audit Version: 2.8.5 -Release: 1mamba +Release: 2mamba Summary: User space tools for kernel auditing Group: System/Tools Vendor: openmamba @@ -43,6 +43,7 @@ BuildRequires: autoconf BuildRequires: automake BuildRequires: libtool BuildRequires: swig +BuildRequires: libprelude-devel >= 5.2.0 %systemd_requires BuildRoot: %{_tmppath}/%{name}-%{version}-root @@ -100,6 +101,8 @@ Requires: libaudit = %{?epoch:%epoch:}%{version}-%{release} %description plugins The audispd-plugins package provides plugins for the real-time interface to the audit system, audispd. These plugins can do things like relay events to remote machines or analyze events for suspicious behavior. +%debug_package + %prep %setup -q %patch0 -p1 @@ -113,8 +116,9 @@ The audispd-plugins package provides plugins for the real-time interface to the --enable-gssapi-krb5=yes \ --with-libcap-ng=yes \ --with-python=yes \ - --enable-systemd=yes - + --enable-systemd=yes \ + CFLAGS="%{optflags} -fcommon" + %make %install @@ -190,7 +194,9 @@ find /etc/rc[0-6].d/ -type l -xtype l -exec rm -f {} \; %attr(755,root,root) %{_bindir}/aulastlog %attr(755,root,root) %{_bindir}/ausyscall %attr(750,root,root) %{_bindir}/auvirt +%ifnarch arm aarch64 %dir %{_prefix}/lib/golang/src/pkg/redhat.com/audit +%endif %{_mandir}/man5/audispd.conf.5* %{_mandir}/man5/auditd.conf.5* %{_mandir}/man5/ausearch-expression.5* @@ -213,7 +219,7 @@ find /etc/rc[0-6].d/ -type l -xtype l -exec rm -f {} \; %{_libdir}/libaudit.so.* %{_libdir}/libauparse.so.* %{_mandir}/man5/libaudit.conf.5* -#%doc AUTHORS COPYING +%doc AUTHORS COPYING %files -n lib%{name}-devel %defattr(-,root,root) @@ -226,7 +232,9 @@ find /etc/rc[0-6].d/ -type l -xtype l -exec rm -f {} \; %{_libdir}/libauparse.la %{_libdir}/pkgconfig/auparse.pc %{_libdir}/pkgconfig/audit.pc +%ifnarch arm aarch64 %{_prefix}/lib/golang/src/pkg/redhat.com/audit/audit.go +%endif %{_datadir}/aclocal/audit.m4 %{_mandir}/man3/*.3.gz #%doc contrib/skeleton.c contrib/plugin @@ -247,8 +255,7 @@ find /etc/rc[0-6].d/ -type l -xtype l -exec rm -f {} \; %defattr(-,root,root) %{python3_sitearch}/_audit.* %{python3_sitearch}/audit.py -%{python3_sitearch}/__pycache__/audit.cpython-33.pyc -%{python3_sitearch}/__pycache__/audit.cpython-33.pyo +%{python3_sitearch}/__pycache__/audit.cpython-*.pyc %{python3_sitearch}/auparse.* %files plugins @@ -270,6 +277,9 @@ find /etc/rc[0-6].d/ -type l -xtype l -exec rm -f {} \; %{_mandir}/man8/audisp-remote.8* %changelog +* Sun Dec 20 2020 Silvan Calarco 2.8.5-2mamba +- rebuilt with debug package and libprelude 5.2.0 + * Mon May 27 2019 Automatic Build System 2.8.5-1mamba - automatic version update by autodist