forked from pool/audit
Accepting request 540272 from home:pluskalm:branches:security
- Rename python binding packages to match current python packaging standards - Update python build dependencies to resolve future split of python2/3 OBS-URL: https://build.opensuse.org/request/show/540272 OBS-URL: https://build.opensuse.org/package/show/security/audit?expand=0&rev=92
This commit is contained in:
parent
1ded129a42
commit
32adeb8614
@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 9 16:21:23 UTC 2017 - mpluskal@suse.com
|
||||
|
||||
- Rename python binding packages to match current python packaging
|
||||
standards
|
||||
- Update python build dependencies to resolve future split of
|
||||
python2/3
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Nov 4 21:11:35 UTC 2017 - aavindraa@gmail.com
|
||||
|
||||
|
@ -38,7 +38,7 @@ BuildRequires: kernel-headers >= 2.6.30
|
||||
BuildRequires: libtool
|
||||
BuildRequires: openldap2-devel
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: python2-devel
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: swig
|
||||
BuildRequires: systemd-rpm-macros
|
||||
@ -63,21 +63,25 @@ The audit package contains the user space utilities for storing and
|
||||
processing the audit records generated by the audit subsystem in the
|
||||
Linux kernel.
|
||||
|
||||
%package -n audit-libs-python
|
||||
%package -n python2-audit
|
||||
Summary: Python Bindings for libaudit
|
||||
License: LGPL-2.1+
|
||||
Group: Development/Languages/Python
|
||||
Provides: audit-libs-python = %{version}
|
||||
Obsoletes: audit-libs-python < %{version}
|
||||
|
||||
%description -n audit-libs-python
|
||||
%description -n python2-audit
|
||||
The audit-libs-python package contains the bindings for using libaudit
|
||||
by python.
|
||||
|
||||
%package -n audit-libs-python3
|
||||
%package -n python3-audit
|
||||
Summary: Python3 Bindings for libaudit
|
||||
License: LGPL-2.1+
|
||||
Group: Development/Languages/Python
|
||||
Provides: audit-libs-python3 = %{version}
|
||||
Obsoletes: audit-libs-python3 < %{version}
|
||||
|
||||
%description -n audit-libs-python3
|
||||
%description -n python3-audit
|
||||
The audit-libs-python3 package contains the bindings for using libaudit
|
||||
by python3.
|
||||
|
||||
@ -242,12 +246,12 @@ fi
|
||||
%{_unitdir}/auditd.service
|
||||
%{_sbindir}/rcauditd
|
||||
|
||||
%files -n audit-libs-python
|
||||
%files -n python2-audit
|
||||
%attr(755,root,root) %{_libdir}/python%{py_ver}/site-packages/_audit.so
|
||||
%attr(755,root,root) %{_libdir}/python%{py_ver}/site-packages/auparse.so
|
||||
%{_libdir}/python%{py_ver}/site-packages/audit.py*
|
||||
|
||||
%files -n audit-libs-python3
|
||||
%files -n python3-audit
|
||||
%attr(755,root,root) %{_libdir}/python%{py3_ver}/site-packages/_audit.so
|
||||
%attr(755,root,root) %{_libdir}/python%{py3_ver}/site-packages/auparse.so
|
||||
%{_libdir}/python%{py3_ver}/site-packages/audit.py*
|
||||
|
Loading…
Reference in New Issue
Block a user