Hello community, here is the log from the commit of package python-tsk for openSUSE:Factory checked in at 2017-10-19 19:32:14 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-tsk (Old) and /work/SRC/openSUSE:Factory/.python-tsk.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-tsk" Thu Oct 19 19:32:14 2017 rev:6 rq:533534 version:0~20170802 Changes: -------- --- /work/SRC/openSUSE:Factory/python-tsk/python-tsk.changes 2017-03-12 20:02:25.147178754 +0100 +++ /work/SRC/openSUSE:Factory/.python-tsk.new/python-tsk.changes 2017-10-19 19:32:15.420538873 +0200 @@ -1,0 +2,7 @@ +Tue Oct 3 23:20:10 UTC 2017 - [email protected] + +- update to v0~20170802 +- implement python singlespec syntax +- add LGPL-3.0+ for the included talloc library + +------------------------------------------------------------------- @@ -10,3 +17,2 @@ -- add pytsk_20170128_remove_talloc_build.patch - to keep setup.py from attempting to build internal talloc lib -- add python3 support +- add a patch to keep setup.py from attempting to build internal talloc lib +- prepare to add python3 support Old: ---- pytsk3-20170128.tar.gz New: ---- pytsk3-20170802.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-tsk.spec ++++++ --- /var/tmp/diff_new_pack.ZgLFfC/_old 2017-10-19 19:32:16.360494893 +0200 +++ /var/tmp/diff_new_pack.ZgLFfC/_new 2017-10-19 19:32:16.364494707 +0200 @@ -16,63 +16,49 @@ # -%define timestamp 20170128 - +%define timestamp 20170802 +%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-tsk Version: 0~%{timestamp} Release: 0 Summary: Python bindings for tsk - The SleuthKit -License: Apache-2.0 +# 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 +BuildRequires: %{python_module devel} +BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: libtalloc-devel -BuildRequires: pkg-config -BuildRequires: python-devel -BuildRequires: python-setuptools +BuildRequires: python-rpm-macros BuildRequires: sleuthkit-devel >= 4.4.0 -Provides: pytsk -Provides: pytsk3 BuildRoot: %{_tmppath}/%{name}-%{version}-build +%python_subpackages %description -The Sleuthkit is a forensic filesystem analysis framework (http://www.sleuthkit.org/). This project is a python binding for the sleuthkit. - -%package -n python3-tsk -Summary: Python 3 bindings for the sleuthkit -Group: Development/Languages/Python -BuildRequires: python3-devel -BuildRequires: python3-setuptools - -%description -n python3-tsk -Python 3 bindings for the sleuthkit (http://www.sleuthkit.org/) +The Sleuthkit is a forensic filesystem analysis framework (http://www.sleuthkit.org/). This project is a python 2 binding for the sleuthkit. %prep %setup -q -n pytsk3-%{timestamp} # remove unused libraries with incompatible license, use libtalloc from main repositories -rm -rf pytsk talloc -rm -rf pytsk talloc.new -%patch1 -p1 +# rm -rf pytsk talloc +# rm -rf pytsk talloc.new +# %patch1 -p1 %build -CFLAGS="%{optflags}" python setup.py build +CFLAGS="%{optflags}" +%python_build %install -python2 setup.py install --root=%{buildroot} --prefix=%{_prefix} -python3 setup.py install --root=%{buildroot} --prefix=%{_prefix} +%python_install %fdupes %{buildroot} -%files +%files %{python_files} %defattr(-,root,root) %doc LICENSE README %{python_sitearch}/* -%files -n python3-tsk -%defattr(-,root,root) -%doc LICENSE README -%{python3_sitearch}/* - %changelog ++++++ pytsk3-20170128.tar.gz -> pytsk3-20170802.tar.gz ++++++ ++++ 27818 lines of diff (skipped)
