Accepting request 765652 from home:gregfreemyer:Tools-for-forensic-boot-cd
Remove python 2 support and update to the 20200117 release OBS-URL: https://build.opensuse.org/request/show/765652 OBS-URL: https://build.opensuse.org/package/show/security:forensics/python-tsk?expand=0&rev=12
This commit is contained in:
committed by
Git OBS Bridge
parent
c03bae03c6
commit
720520891f
@@ -1,3 +1,15 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 20 00:42:19 UTC 2020 - Greg Freemyer <Greg.Freemyer@gmail.com>
|
||||
|
||||
- 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
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 3 23:20:10 UTC 2017 - Greg.Freemyer@gmail.com
|
||||
|
||||
|
||||
@@ -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 @@ CFLAGS="%{optflags}"
|
||||
|
||||
%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
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:32259447c997104865ee5e09fb106fc1451019d57a6d4ffa82cbbce45a7b5495
|
||||
size 2934331
|
||||
3
pytsk3-20200117.tar.gz
Normal file
3
pytsk3-20200117.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:56177164a358e98baa258296aa2e9a509304dc8dab053abac347435a0978d962
|
||||
size 3060827
|
||||
@@ -1,13 +0,0 @@
|
||||
Index: pytsk3-20170128/setup.py
|
||||
===================================================================
|
||||
--- pytsk3-20170128.orig/setup.py
|
||||
+++ pytsk3-20170128/setup.py
|
||||
@@ -340,7 +340,7 @@ class ProjectBuilder(object):
|
||||
|
||||
# The sources to build.
|
||||
self._source_files = ["class.c", "error.c", "tsk3.c",
|
||||
- "pytsk3.c", "talloc/talloc.c"]
|
||||
+ "pytsk3.c"]
|
||||
|
||||
# Path to the top of the unpacked sleuthkit sources.
|
||||
self._sleuthkit_path = "sleuthkit"
|
||||
Reference in New Issue
Block a user