update to 4.0.3 [release 4.0.3-1mamba;Sun Jan 12 2025]

This commit is contained in:
Silvan Calarco 2025-01-15 18:10:04 +01:00
parent e373f38b99
commit aa6e26d058

View File

@ -1,13 +1,13 @@
Name: audit
Version: 4.0.2
Release: 2mamba
Version: 4.0.3
Release: 1mamba
Summary: User space tools for kernel auditing
Group: System/Tools
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://people.redhat.com/sgrubb/audit/
Source: http://people.redhat.com/sgrubb/audit/%{name}-%{version}.tar.gz
Source: https://github.com/linux-audit/audit-userspace.git/v%{version}/audit-userspace-%{version}.tar.bz2
License: GPL, LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
@ -74,11 +74,9 @@ Obsoletes: python-audit < 3.0.8
The python-audit package containts Python 3 bindings to %{name}.
The libaudit-devel package contains the header files needed for developing applications that need to use the audit framework libraries.
%debug_package
%prep
%setup -q
#autoreconf -v --install
%setup -q -n audit-userspace-%{version}
autoreconf -fi
%build
%configure \
@ -116,11 +114,8 @@ if [ $1 -gt 1 ]; then
# fix /sbin -> /usr/sbin paths on upgrade
sed -i "s|path = /sbin/|path = /usr/sbin/|" %{_sysconfdir}/audit/plugins.d/*.conf
fi
%tmpfiles_create audit.conf
%systemd_post auditd
if [ $1 -eq 1 -o -e /etc/rc5.d/S11auditd ]; then
systemctl -q daemon-reload
systemctl -q enable auditd
fi
:
%preun
@ -158,6 +153,7 @@ fi
%attr(755,root,root) %{_bindir}/ausyscall
%attr(644,root,root) %{_unitdir}/auditd.service
%{_unitdir}/audit-rules.service
%{_tmpfilesdir}/audit.conf
%dir %{_datadir}/audit-rules
%{_datadir}/audit-rules/*
%attr(750,root,root) %dir %{_localstatedir}/log/audit
@ -221,6 +217,9 @@ fi
%{python3_sitearch}/auparse.*
%changelog
* Sun Jan 12 2025 Silvan Calarco <silvan.calarco@mambasoft.it> 4.0.3-1mamba
- update to 4.0.3
* Sat Dec 28 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 4.0.2-2mamba
- removed build requirement for libprelude