Accepting request 531023 from home:gregfreemyer:Tools-for-forensic-boot-cd

- update to v0~20170723
  * worked on internal test structure
- add python3 support
- implement python singlespec syntax

OBS-URL: https://build.opensuse.org/request/show/531023
OBS-URL: https://build.opensuse.org/package/show/security:forensics/python-dfVFS?expand=0&rev=20
This commit is contained in:
Greg Freemyer
2017-10-03 23:02:19 +00:00
committed by Git OBS Bridge
parent e9a77b8361
commit 7e5ac4f4ff
4 changed files with 25 additions and 13 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0eb4f54d745502e43b12456882ee69130b566db05c33c4abefede010422fb666
size 77646360

3
dfvfs-20170723.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:33b9ec370d38d44c7b18edf9f8000529281fa6c2020a0062621ddb3a4a4f1299
size 77652139

View File

@@ -1,3 +1,11 @@
-------------------------------------------------------------------
Mon Oct 2 21:09:51 UTC 2017 - Greg.Freemyer@gmail.com
- update to v0~20170723
* worked on internal test structure
- add python3 support
- implement python singlespec syntax
-------------------------------------------------------------------
Sun Feb 26 22:14:42 UTC 2017 - Greg.Freemyer@gmail.com

View File

@@ -16,7 +16,8 @@
#
%define timestamp 20160918
%define timestamp 20170723
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-dfVFS
Version: 0~%{timestamp}
Release: 0
@@ -25,10 +26,11 @@ License: Apache-2.0
Group: Productivity/File utilities
Url: https://github.com/log2timeline/dfvfs/wiki
Source: https://github.com/log2timeline/dfvfs/releases/download/%timestamp/dfvfs-%timestamp.tar.gz
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: pkg-config
BuildRequires: python-devel
BuildRequires: python-setuptools
BuildRequires: pkgconfig
BuildRequires: python-rpm-macros
BuildRequires: pkgconfig(python)
Requires: pybde
Requires: pyewf
Requires: pyfsntfs >= 0~20160418
@@ -39,7 +41,7 @@ Requires: pysigscan
Requires: pysmdev
Requires: pysmraw
Requires: python-construct
Requires: python-dfdatetime
Requires: python-dfdatetime >= 0~20160814
Requires: python-protobuf
Requires: python-six
Requires: pytsk
@@ -49,6 +51,7 @@ Requires: pyvshadow >= 0~20160110
Requires: pyvslvm
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%python_subpackages
%description
dfVFS, or Digital Forensics Virtual File System, provides read-only access to file-system objects from various storage media types and file formats. The goal of dfVFS is to provide a generic interface for accessing file-system objects, for which it uses several back-ends that provide the actual implementation of the various storage media types, volume systems and file systems.
@@ -65,9 +68,11 @@ chmod -x run_tests.py
%build
python setup.py build
python3 setup.py build
%install
python setup.py install --root=%{buildroot} --prefix=%{_prefix}
python2 setup.py install --root=%{buildroot} --prefix=%{_prefix}
python3 setup.py install --root=%{buildroot} --prefix=%{_prefix}
# force complie to resolve an rpmlint complaint
pushd %{buildroot}%{python_sitelib}/dfvfs/
%py_compile .
@@ -75,13 +80,12 @@ pushd %{buildroot}%{python_sitelib}/dfvfs/
popd
%fdupes -s %{buildroot}
%files
%files %{python_files}
%defattr(-,root,root)
%doc ACKNOWLEDGEMENTS AUTHORS LICENSE README
%doc utils/check_dependencies.py
%doc run_tests.py
%doc utils/check_dependencies.py utils/dependencies.py
%doc examples
%{python_sitelib}/dfvfs-%{timestamp}-py2.7.egg-info
%{python_sitelib}/dfvfs-%{timestamp}-py%{python_version}.egg-info
%{python_sitelib}/dfvfs
# these are installed into the wrong place
%exclude %{_datadir}/doc/dfvfs/