From 6ff4186f6493046678ac8aef1536aa80253e3a2e Mon Sep 17 00:00:00 2001 From: sgrubb Date: Thu, 16 Jul 2015 19:50:37 -0400 Subject: [PATCH] New upstream bugfix release - Adds python3 support --- audit.spec | 30 +++++++++++++++++++++++++++--- sources | 2 +- 2 files changed, 28 insertions(+), 4 deletions(-) diff --git a/audit.spec b/audit.spec index bed2fbb..d5a4775 100644 --- a/audit.spec +++ b/audit.spec @@ -6,7 +6,7 @@ Summary: User space tools for 2.6 kernel auditing Name: audit -Version: 2.4.2 +Version: 2.4.3 Release: 1%{?dist} License: GPLv2+ Group: System Environment/Daemons @@ -81,6 +81,17 @@ Requires: %{name}-libs = %{version}-%{release} The audit-libs-python package contains the bindings so that libaudit and libauparse can be used by python. +%package libs-python3 +Summary: Python3 bindings for libaudit +License: LGPLv2+ +Group: Development/Libraries +BuildRequires: python3-devel swig +Requires: %{name} = %{version}-%{release} + +%description libs-python3 +The audit-libs-python3 package contains the bindings so that libaudit +and libauparse can be used by python3. + %package -n audispd-plugins Summary: Plugins for the audit event dispatcher License: GPLv2+ @@ -103,8 +114,9 @@ cp %{SOURCE1} . %build %configure --sbindir=/sbin --libdir=/%{_lib} --with-python=yes \ - --with-libwrap --enable-gssapi-krb5=yes --with-libcap-ng=yes \ - --with-arm --with-aarch64 \ + --with-python3=yes --with-libwrap --enable-gssapi-krb5=yes \ + --with-libcap-ng=yes --with-arm --with-aarch64 \ + --enable-zos-remote \ %ifnarch aarch64 %{power64} s390 s390x --with-golang \ %endif @@ -216,6 +228,7 @@ fi %{_includedir}/auparse.h %{_includedir}/auparse-defs.h %{_libdir}/pkgconfig/audit.pc +%{_libdir}/pkgconfig/auparse.pc %{_mandir}/man3/* %files libs-static @@ -231,6 +244,10 @@ fi %attr(755,root,root) %{python_sitearch}/auparse.so %{python_sitearch}/audit.py* +%files libs-python3 +%defattr(-,root,root,-) +%attr(755,root,root) %{python3_sitearch}/* + %files %defattr(-,root,root,-) %doc README ChangeLog contrib/capp.rules contrib/nispom.rules contrib/lspp.rules contrib/stig.rules init.d/auditd.cron @@ -301,6 +318,13 @@ fi %attr(644,root,root) %{_mandir}/man8/audisp-remote.8.gz %changelog +* Thu Jul 16 2015 Steve Grubb 2.4.3-1 +- New upstream bugfix release +- Adds python3 support + +* Wed Jun 17 2015 Fedora Release Engineering - 2.4.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + * Tue Apr 28 2015 Steve Grubb 2.4.2-1 - New upstream bugfix release diff --git a/sources b/sources index 6e6b899..7e6c475 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -52e535e449f6fb80a4491267e35f1cec audit-2.4.2.tar.gz +544d863af2016b76afd8d1691b251164 audit-2.4.3.tar.gz