Hello community, here is the log from the commit of package libewf for openSUSE:Factory checked in at 2017-11-03 16:23:13 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libewf (Old) and /work/SRC/openSUSE:Factory/.libewf.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libewf" Fri Nov 3 16:23:13 2017 rev:14 rq:535309 version:0~20140608 Changes: -------- --- /work/SRC/openSUSE:Factory/libewf/libewf.changes 2015-01-30 15:05:38.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.libewf.new/libewf.changes 2017-11-03 16:23:14.707715786 +0100 @@ -1,0 +2,7 @@ +Wed Oct 11 20:10:55 UTC 2017 - greg.freem...@gmail.com + +- add skeleton python3 support - upstream doesn't have python 3 in the stable release +- rename python-libewf to python2-libewf to be compatible with python singlespec +- remove pyewf as it isn't versioned and isn't singlespec compatible + +------------------------------------------------------------------- Old: ---- Expert_Witness_Compression_Format_(EWF).pdf Expert_Witness_Compression_Format_2_(EWF2).pdf New: ---- Expert_Witness_Compression_Format_2_EWF2.pdf Expert_Witness_Compression_Format_EWF.pdf ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libewf.spec ++++++ --- /var/tmp/diff_new_pack.n4Z1oa/_old 2017-11-03 16:23:15.319693512 +0100 +++ /var/tmp/diff_new_pack.n4Z1oa/_new 2017-11-03 16:23:15.323693366 +0100 @@ -1,7 +1,7 @@ # # spec file for package libewf # -# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -28,8 +28,8 @@ #DL-URL: https://googledrive.com/host/0B3fBvzttpiiSMTdoaVExWWNsRjg/libewf-20140608.tar.gz Source: %{name}-%{timestamp}.tar.gz Source2: http://downloads.sf.net/libewf/mount_ewf-20090113.py -Source3: Expert_Witness_Compression_Format_(EWF).pdf -Source4: Expert_Witness_Compression_Format_2_(EWF2).pdf +Source3: Expert_Witness_Compression_Format_EWF.pdf +Source4: Expert_Witness_Compression_Format_2_EWF2.pdf Patch1: remove_date_time_macros.patch BuildRequires: bison BuildRequires: flex @@ -119,16 +119,27 @@ This subpackage contains libraries and header files for developing applications that want to make use of %{name}. -%package -n python-%{name} -Summary: Python bindings for libewf, an Expert Witness Compression format library +%package -n python2-%{name} +Summary: Python 2 bindings for libewf, an Expert Witness Compression format library License: LGPL-3.0+ Group: Development/Libraries/Python Requires: %{lname} = %{version} -Requires: python -Provides: pyewf = %{version} +BuildRequires: pkgconfig(python2) +Obsoletes: python-%{name} -%description -n python-%{name} -Python binding for libewf, which can create and read EnCase forensic +%description -n python2-%{name} +Python 2 binding for libewf, which can create and read EnCase forensic +images. + +%package -n python3-%{name} +Summary: Python 3 bindings for libewf, an Expert Witness Compression format library +License: LGPL-3.0+ +Group: Development/Libraries/Python +Requires: %{lname} = %{version} +BuildRequires: pkgconfig(python3) + +%description -n python3-%{name} +Python 3 binding for libewf, which can create and read EnCase forensic images. %prep @@ -140,7 +151,7 @@ #export CFLAGS="%optflags -fno-strict-aliasing" %configure --disable-static \ --enable-wide-character-type \ - --enable-python + --enable-python --enable-python3 #Remove rpath from libtool #sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool @@ -192,9 +203,14 @@ %{_libdir}/pkgconfig/libewf.pc %{_mandir}/man3/libewf.3* -%files -n python-%{name} +%files -n python2-%{name} %defattr(-,root,root) %doc AUTHORS COPYING NEWS README %{python_sitearch}/pyewf.so +# this is a skeleton package with no actual binary. Upstream doesn't have python3 support in stable +%files -n python3-%{name} +%defattr(-,root,root) +%doc AUTHORS COPYING NEWS README + %changelog