forked from pool/libewf
Accepting request 902497 from home:jengelh:branches:security:forensics
- Drop python2 module build. OBS-URL: https://build.opensuse.org/request/show/902497 OBS-URL: https://build.opensuse.org/package/show/security:forensics/libewf?expand=0&rev=19
This commit is contained in:
parent
73e5490c49
commit
df36ac15c3
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Jun 26 09:57:45 UTC 2021 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
- Drop python2 module build.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri May 14 00:55:40 UTC 2021 - Jan Engelhardt <jengelh@inai.de>
|
Fri May 14 00:55:40 UTC 2021 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
34
libewf.spec
34
libewf.spec
@ -17,8 +17,6 @@
|
|||||||
|
|
||||||
|
|
||||||
%define lname libewf2
|
%define lname libewf2
|
||||||
%bcond_with python2
|
|
||||||
|
|
||||||
Name: libewf
|
Name: libewf
|
||||||
Version: 20140811
|
Version: 20140811
|
||||||
Release: 0
|
Release: 0
|
||||||
@ -60,12 +58,9 @@ BuildRequires: pkgconfig(libsmdev) >= 20210418
|
|||||||
BuildRequires: pkgconfig(libsmraw) >= 20210418
|
BuildRequires: pkgconfig(libsmraw) >= 20210418
|
||||||
BuildRequires: pkgconfig(libuna) >= 20201204
|
BuildRequires: pkgconfig(libuna) >= 20201204
|
||||||
BuildRequires: pkgconfig(openssl) >= 1.0.0
|
BuildRequires: pkgconfig(openssl) >= 1.0.0
|
||||||
|
BuildRequires: pkgconfig(python3)
|
||||||
BuildRequires: pkgconfig(uuid) >= 2.20
|
BuildRequires: pkgconfig(uuid) >= 2.20
|
||||||
BuildRequires: pkgconfig(zlib) >= 1.2.5
|
BuildRequires: pkgconfig(zlib) >= 1.2.5
|
||||||
%if %{with python2}
|
|
||||||
BuildRequires: pkgconfig(python2)
|
|
||||||
%endif
|
|
||||||
BuildRequires: pkgconfig(python3)
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
libewf is a library for support of the Expert Witness Compression
|
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
|
This subpackage contains libraries and header files for developing
|
||||||
applications that want to make use of %{name}.
|
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}
|
%package -n python3-%{name}
|
||||||
Summary: Python 3 bindings for libewf, an Expert Witness Compression format library
|
Summary: Python 3 bindings for libewf, an Expert Witness Compression format library
|
||||||
License: LGPL-3.0-or-later
|
License: LGPL-3.0-or-later
|
||||||
@ -146,11 +126,7 @@ cp "%{SOURCE3}" "%{SOURCE4}" .
|
|||||||
if [ ! -e configure ]; then ./autogen.sh; fi
|
if [ ! -e configure ]; then ./autogen.sh; fi
|
||||||
%configure --disable-static --disable-rpath \
|
%configure --disable-static --disable-rpath \
|
||||||
--enable-wide-character-type \
|
--enable-wide-character-type \
|
||||||
--enable-python3 \
|
--enable-python3
|
||||||
%if %{with python2}
|
|
||||||
--enable-python2
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%make_build
|
%make_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -192,12 +168,6 @@ make check
|
|||||||
%{_libdir}/pkgconfig/libewf.pc
|
%{_libdir}/pkgconfig/libewf.pc
|
||||||
%{_mandir}/man3/libewf.3*
|
%{_mandir}/man3/libewf.3*
|
||||||
|
|
||||||
%if %{with python2}
|
|
||||||
%files -n python2-%{name}
|
|
||||||
%license COPYING*
|
|
||||||
%{python_sitearch}/pyewf.so
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%files -n python3-%{name}
|
%files -n python3-%{name}
|
||||||
%license COPYING*
|
%license COPYING*
|
||||||
%{python3_sitearch}/*.so
|
%{python3_sitearch}/*.so
|
||||||
|
Loading…
Reference in New Issue
Block a user