Hello community, here is the log from the commit of package python-tsk for openSUSE:Factory checked in at 2020-01-20 22:52:22 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-tsk (Old) and /work/SRC/openSUSE:Factory/.python-tsk.new.26092 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-tsk" Mon Jan 20 22:52:22 2020 rev:7 rq:765654 version:0~20200117 Changes: -------- --- /work/SRC/openSUSE:Factory/python-tsk/python-tsk.changes 2017-10-19 19:32:15.420538873 +0200 +++ /work/SRC/openSUSE:Factory/.python-tsk.new.26092/python-tsk.changes 2020-01-20 22:52:46.775282000 +0100 @@ -1,0 +2,12 @@ +Mon Jan 20 00:42:19 UTC 2020 - Greg Freemyer <[email protected]> + +- update to v0~20200117 + * Python 2 is officially NOT supported, drop python 2 + * Updated to Sleuthkit 4.7.0 +- add a %check section +- add + * BuildRequires: pkgconfig(libvhdi) + * BuildRequires: pkgconfig(libvmdk) +- remove unused patch file pytsk_20170128_remove_talloc_build.patch + +------------------------------------------------------------------- Old: ---- pytsk3-20170802.tar.gz pytsk_20170128_remove_talloc_build.patch New: ---- pytsk3-20200117.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-tsk.spec ++++++ --- /var/tmp/diff_new_pack.utg8Om/_old 2020-01-20 22:52:50.295283354 +0100 +++ /var/tmp/diff_new_pack.utg8Om/_new 2020-01-20 22:52:50.295283354 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-tsk # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,29 +12,34 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # -%define timestamp 20170802 +%define timestamp 20200117 %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%define skip_python2 1 Name: python-tsk Version: 0~%{timestamp} Release: 0 Summary: Python bindings for tsk - The SleuthKit # the included talloc library is LGPL 3 -License: Apache-2.0 AND LGPL-3.0+ -Group: Development/Languages/Python -Url: https://github.com/py4n6/pytsk/ -Source0: https://github.com/py4n6/pytsk/releases/download/%{timestamp}/pytsk3-%{timestamp}.tar.gz -Patch1: pytsk_20170128_remove_talloc_build.patch +License: Apache-2.0 AND LGPL-3.0-or-later +URL: https://github.com/py4n6/pytsk/ +Source0: https://files.pythonhosted.org/packages/source/p/pytsk3/pytsk3-%{timestamp}.tar.gz BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: gcc-c++ +BuildRequires: libstdc++-devel BuildRequires: libtalloc-devel +BuildRequires: postgresql-devel BuildRequires: python-rpm-macros -BuildRequires: sleuthkit-devel >= 4.4.0 +BuildRequires: sleuthkit-devel >= 4.6.7 +BuildRequires: zlib-devel +BuildRequires: pkgconfig(libvhdi) +BuildRequires: pkgconfig(libvmdk) + BuildRoot: %{_tmppath}/%{name}-%{version}-build %python_subpackages @@ -54,11 +59,18 @@ %install %python_install -%fdupes %{buildroot} +%python_expand %fdupes %{buildroot}%{$python_sitearch} + +%check +# pytest is NOT suppoerted (see gh#py4n6/pytsk#48) +%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitearch} +$python ./run_tests.py +} %files %{python_files} %defattr(-,root,root) -%doc LICENSE README +%doc README +%license LICENSE %{python_sitearch}/* %changelog ++++++ pytsk3-20170802.tar.gz -> pytsk3-20200117.tar.gz ++++++ ++++ 90685 lines of diff (skipped)
