update to 3.0.8 [release 3.0.8-1mamba;Sat Apr 02 2022]

This commit is contained in:
Silvan Calarco 2024-01-05 20:40:16 +01:00
parent b2c0f4f9c2
commit 407f372d8e

View File

@ -1,5 +1,5 @@
Name: audit
Version: 3.0.7
Version: 3.0.8
Release: 1mamba
Summary: User space tools for kernel auditing
Group: System/Tools
@ -19,6 +19,7 @@ BuildRequires: libkrb5-devel
BuildRequires: libnsl-devel
BuildRequires: libopenldap-devel
BuildRequires: libopenssl-devel
BuildRequires: libpython3-devel
BuildRequires: libsasl2-devel
BuildRequires: libtirpc-devel
BuildRequires: libwrap-devel
@ -74,6 +75,7 @@ Group: Development/Libraries
Summary: Python3 bindings to %{name}
Requires: python3
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
Obsoletes: python-audit < 3.0.8
%description -n python-audit-py3
The python-audit package containts Python 3 bindings to %{name}.
@ -93,7 +95,8 @@ The libaudit-devel package contains the header files needed for developing appli
--with-libwrap \
--enable-gssapi-krb5=yes \
--with-libcap-ng=yes \
--with-python=yes \
--with-python=no \
--with-python3=yes \
--enable-systemd=yes \
CFLAGS="%{optflags} -fcommon" \
%ifarch arm
@ -112,12 +115,12 @@ mkdir -p %{buildroot}%{_localstatedir}/log/audit
%makeinstall \
initdir=%{_unitdir}
rm -f %{buildroot}%{python_sitearch}/_audit.a
rm -f %{buildroot}%{python_sitearch}/_audit.la
rm -f %{buildroot}%{python_sitearch}/_auparse.a
rm -f %{buildroot}%{python_sitearch}/_auparse.la
rm -f %{buildroot}%{python_sitearch}/auparse.a
rm -f %{buildroot}%{python_sitearch}/auparse.la
#rm -f %{buildroot}%{python_sitearch}/_audit.a
#rm -f %{buildroot}%{python_sitearch}/_audit.la
#rm -f %{buildroot}%{python_sitearch}/_auparse.a
#rm -f %{buildroot}%{python_sitearch}/_auparse.la
#rm -f %{buildroot}%{python_sitearch}/auparse.a
#rm -f %{buildroot}%{python_sitearch}/auparse.la
install -d -m 0755 %{buildroot}%{_sysconfdir}/audit/rules.d
@ -241,20 +244,23 @@ find /etc/rc[0-6].d/ -type l -xtype l -exec rm -f {} \;
%{_libdir}/libaudit.a
%{_libdir}/libauparse.a
%files -n python-audit
%defattr(-,root,root)
%{python_sitearch}/_audit.*
%{python_sitearch}/audit.py*
%{python_sitearch}/auparse.*
#%files -n python-audit
#%defattr(-,root,root)
#%{python_sitearch}/_audit.*
#%{python_sitearch}/audit.py*
#%{python_sitearch}/auparse.*
%files -n python-audit-py3
%defattr(-,root,root)
%{python3_sitearch}/_audit.*
%{python3_sitearch}/audit.py
%{python3_sitearch}/__pycache__/audit.cpython-*.pyc
%{python3_sitearch}/auparse.*
%{python3_sitelib}/_audit.*
%{python3_sitelib}/audit.py
%{python3_sitelib}/__pycache__/audit.cpython-*.pyc
%{python3_sitelib}/auparse.*
%changelog
* Sat Apr 02 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 3.0.8-1mamba
- update to 3.0.8
* Tue Jan 25 2022 Automatic Build System <autodist@mambasoft.it> 3.0.7-1mamba
- automatic version update by autodist