diff --git a/libewf.changes b/libewf.changes index f389bfc..ecc7481 100644 --- a/libewf.changes +++ b/libewf.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat Jun 26 09:57:45 UTC 2021 - Jan Engelhardt + +- Drop python2 module build. + ------------------------------------------------------------------- Fri May 14 00:55:40 UTC 2021 - Jan Engelhardt diff --git a/libewf.spec b/libewf.spec index 16db121..756d57d 100644 --- a/libewf.spec +++ b/libewf.spec @@ -17,8 +17,6 @@ %define lname libewf2 -%bcond_with python2 - Name: libewf Version: 20140811 Release: 0 @@ -60,12 +58,9 @@ BuildRequires: pkgconfig(libsmdev) >= 20210418 BuildRequires: pkgconfig(libsmraw) >= 20210418 BuildRequires: pkgconfig(libuna) >= 20201204 BuildRequires: pkgconfig(openssl) >= 1.0.0 +BuildRequires: pkgconfig(python3) BuildRequires: pkgconfig(uuid) >= 2.20 BuildRequires: pkgconfig(zlib) >= 1.2.5 -%if %{with python2} -BuildRequires: pkgconfig(python2) -%endif -BuildRequires: pkgconfig(python3) %description libewf is a library for support of the Expert Witness Compression @@ -113,21 +108,6 @@ by EnCase 1 to 6, linen and FTK Imager. This subpackage contains libraries and header files for developing applications that want to make use of %{name}. -%package -n python2-%{name} -Summary: Python 2 bindings for libewf, an Expert Witness Compression format library -License: LGPL-3.0-or-later -Group: Development/Libraries/Python -Provides: python-%{name} = %{version} -Obsoletes: python-%{name} < 20140608 - -%description -n python2-%{name} -Python 2 binding for libewf, which can create and read EnCase forensic -images. - -# We can eventually split python* packages into separate packages -# python setup.py build should work according to -# https://github.com/libyal/libewf/wiki/Building#using-setuppy - %package -n python3-%{name} Summary: Python 3 bindings for libewf, an Expert Witness Compression format library License: LGPL-3.0-or-later @@ -146,11 +126,7 @@ cp "%{SOURCE3}" "%{SOURCE4}" . if [ ! -e configure ]; then ./autogen.sh; fi %configure --disable-static --disable-rpath \ --enable-wide-character-type \ - --enable-python3 \ -%if %{with python2} - --enable-python2 -%endif - + --enable-python3 %make_build %install @@ -192,12 +168,6 @@ make check %{_libdir}/pkgconfig/libewf.pc %{_mandir}/man3/libewf.3* -%if %{with python2} -%files -n python2-%{name} -%license COPYING* -%{python_sitearch}/pyewf.so -%endif - %files -n python3-%{name} %license COPYING* %{python3_sitearch}/*.so