Accepting request 902494 from home:jengelh:branches:security:forensics

- Drop python2 module build.

OBS-URL: https://build.opensuse.org/request/show/902494
OBS-URL: https://build.opensuse.org/package/show/security:forensics/libesedb?expand=0&rev=21
This commit is contained in:
Greg Freemyer 2021-06-26 10:53:09 +00:00 committed by Git OBS Bridge
parent 7921e3d30e
commit f0b6d6e9f7
2 changed files with 5 additions and 29 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sat Jun 26 09:51:11 UTC 2021 - Jan Engelhardt <jengelh@inai.de>
- Drop python2 module build.
-------------------------------------------------------------------
Fri May 14 22:05:46 UTC 2021 - Jan Engelhardt <jengelh@inai.de>

View File

@ -16,8 +16,6 @@
#
%bcond_without python2
%define lname libesedb1
Name: libesedb
Version: 20210513
@ -54,9 +52,6 @@ BuildRequires: pkgconfig(libfvalue) >= 20210510
BuildRequires: pkgconfig(libfwnt) >= 20210421
BuildRequires: pkgconfig(libmapidb) >= 20170304
BuildRequires: pkgconfig(libuna) >= 20201204
%if %{with python2}
BuildRequires: pkgconfig(python2)
%endif
BuildRequires: pkgconfig(python3)
%description
@ -91,21 +86,6 @@ applications like Windows Search, Windows Mail, Exchange, Active Directory, etc.
This subpackage contains libraries and header files for developing
applications that want to make use of libesedb.
%package -n python2-%{name}
Summary: Python bindings for libesedb, a EDB file format parser
License: LGPL-3.0-or-later
Group: Development/Libraries/Python
Obsoletes: pyesedb <= 20191220
Obsoletes: python-%{name} <= 20191220
%description -n python2-%{name}
libesedb is a library to access EDB files. ESEDB is used in many different
applications like Windows Search, Windows Mail, Exchange, Active Directory, etc.
Python2 bindings for libesedb, which can read EDB files. ESEDB is used in many
different applications like Windows Search, Windows Mail, Exchange, Active
Directory, etc.
%package -n python3-%{name}
Summary: Python bindings for libesedb, a EDB file format parser
License: LGPL-3.0-or-later
@ -132,9 +112,6 @@ if [ ! -e configure ]; then ./autogen.sh; fi
%configure \
--disable-static \
--enable-wide-character-type \
%if %{with python2}
--enable-python2 \
%endif
--enable-python3
%make_build
@ -167,12 +144,6 @@ find %{buildroot} -type f -name "*.la" -delete -print
%{_libdir}/pkgconfig/libesedb.pc
%{_mandir}/man3/libesedb.3*
%if %{with python2}
%files -n python2-%{name}
%license COPYING*
%{python2_sitearch}/pyesedb.so
%endif
%files -n python3-%{name}
%license COPYING*
%{python3_sitearch}/pyesedb.so