New upstream bugfix release

- Adds python3 support
This commit is contained in:
sgrubb 2015-07-16 19:14:20 -04:00
parent 908daf1bc8
commit a2dd83996f
2 changed files with 26 additions and 5 deletions

View File

@ -6,8 +6,8 @@
Summary: User space tools for 2.6 kernel auditing Summary: User space tools for 2.6 kernel auditing
Name: audit Name: audit
Version: 2.4.2 Version: 2.4.3
Release: 2%{?dist} Release: 1%{?dist}
License: GPLv2+ License: GPLv2+
Group: System Environment/Daemons Group: System Environment/Daemons
URL: http://people.redhat.com/sgrubb/audit/ URL: http://people.redhat.com/sgrubb/audit/
@ -81,6 +81,17 @@ Requires: %{name}-libs = %{version}-%{release}
The audit-libs-python package contains the bindings so that libaudit The audit-libs-python package contains the bindings so that libaudit
and libauparse can be used by python. 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 %package -n audispd-plugins
Summary: Plugins for the audit event dispatcher Summary: Plugins for the audit event dispatcher
License: GPLv2+ License: GPLv2+
@ -103,8 +114,9 @@ cp %{SOURCE1} .
%build %build
%configure --sbindir=/sbin --libdir=/%{_lib} --with-python=yes \ %configure --sbindir=/sbin --libdir=/%{_lib} --with-python=yes \
--with-libwrap --enable-gssapi-krb5=yes --with-libcap-ng=yes \ --with-python3=yes --with-libwrap --enable-gssapi-krb5=yes \
--with-arm --with-aarch64 \ --with-libcap-ng=yes --with-arm --with-aarch64 \
--enable-zos-remote \
%ifnarch aarch64 %{power64} s390 s390x %ifnarch aarch64 %{power64} s390 s390x
--with-golang \ --with-golang \
%endif %endif
@ -216,6 +228,7 @@ fi
%{_includedir}/auparse.h %{_includedir}/auparse.h
%{_includedir}/auparse-defs.h %{_includedir}/auparse-defs.h
%{_libdir}/pkgconfig/audit.pc %{_libdir}/pkgconfig/audit.pc
%{_libdir}/pkgconfig/auparse.pc
%{_mandir}/man3/* %{_mandir}/man3/*
%files libs-static %files libs-static
@ -231,6 +244,10 @@ fi
%attr(755,root,root) %{python_sitearch}/auparse.so %attr(755,root,root) %{python_sitearch}/auparse.so
%{python_sitearch}/audit.py* %{python_sitearch}/audit.py*
%files libs-python3
%defattr(-,root,root,-)
%attr(755,root,root) %{python3_sitearch}/*
%files %files
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc README ChangeLog contrib/capp.rules contrib/nispom.rules contrib/lspp.rules contrib/stig.rules init.d/auditd.cron %doc README ChangeLog contrib/capp.rules contrib/nispom.rules contrib/lspp.rules contrib/stig.rules init.d/auditd.cron
@ -301,6 +318,10 @@ fi
%attr(644,root,root) %{_mandir}/man8/audisp-remote.8.gz %attr(644,root,root) %{_mandir}/man8/audisp-remote.8.gz
%changelog %changelog
* Thu Jul 16 2015 Steve Grubb <sgrubb@redhat.com> 2.4.3-1
- New upstream bugfix release
- Adds python3 support
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.2-2 * Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild

View File

@ -1 +1 @@
52e535e449f6fb80a4491267e35f1cec audit-2.4.2.tar.gz 544d863af2016b76afd8d1691b251164 audit-2.4.3.tar.gz