From e11d8342d87ac17147c617f6ee5bdbbb56f4f8ea3799d505c7daeabfd4ce15d5 Mon Sep 17 00:00:00 2001 From: Greg Freemyer Date: Mon, 15 Jan 2018 02:06:09 +0000 Subject: [PATCH] Accepting request 564450 from home:gregfreemyer:Tools-for-forensic-boot-cd - update to v0~20171230 * add more python3 support (even though openSUSE package doesn't use it) * bug fixes * compatible with plaso 20171231 - revert effort to use Python singlespec. It's just not working smoothly. OBS-URL: https://build.opensuse.org/request/show/564450 OBS-URL: https://build.opensuse.org/package/show/security:forensics/python-dfVFS?expand=0&rev=23 --- dfvfs-20170723.tar.gz | 3 --- dfvfs-20171230.tar.gz | 3 +++ python-dfVFS.changes | 9 ++++++++ python-dfVFS.spec | 51 +++++++++++++++++++++---------------------- 4 files changed, 37 insertions(+), 29 deletions(-) delete mode 100644 dfvfs-20170723.tar.gz create mode 100644 dfvfs-20171230.tar.gz diff --git a/dfvfs-20170723.tar.gz b/dfvfs-20170723.tar.gz deleted file mode 100644 index 7b09212..0000000 --- a/dfvfs-20170723.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:33b9ec370d38d44c7b18edf9f8000529281fa6c2020a0062621ddb3a4a4f1299 -size 77652139 diff --git a/dfvfs-20171230.tar.gz b/dfvfs-20171230.tar.gz new file mode 100644 index 0000000..f87f4f9 --- /dev/null +++ b/dfvfs-20171230.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9e00fbd418cb32298711c87e7867b1b2ed5e5d75f6e0d5c3bd066446c481ad1d +size 77713170 diff --git a/python-dfVFS.changes b/python-dfVFS.changes index b01cc02..654e2de 100644 --- a/python-dfVFS.changes +++ b/python-dfVFS.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Thu Jan 11 21:53:23 UTC 2018 - Greg.Freemyer@gmail.com + +- update to v0~20171230 + * add more python3 support (even though openSUSE package doesn't use it) + * bug fixes + * compatible with plaso 20171231 +- revert effort to use Python singlespec. It's just not working smoothly. + ------------------------------------------------------------------- Mon Oct 2 21:09:51 UTC 2017 - Greg.Freemyer@gmail.com diff --git a/python-dfVFS.spec b/python-dfVFS.spec index 644d4aa..8ec78b8 100644 --- a/python-dfVFS.spec +++ b/python-dfVFS.spec @@ -1,7 +1,7 @@ # # spec file for package python-dfVFS # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 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 @@ -16,8 +16,7 @@ # -%define timestamp 20170723 -%{?!python_module:%define python_module() python-%{**} python3-%{**}} +%define timestamp 20171230 Name: python-dfVFS Version: 0~%{timestamp} Release: 0 @@ -26,31 +25,31 @@ 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 devel} -BuildRequires: %{python_module setuptools} BuildRequires: fdupes +BuildRequires: python-devel BuildRequires: python-rpm-macros -# Use the python- variant of the libyal python bindings. This allows python singlespec to tweak the Requires for python2 and python3 +BuildRequires: python-setuptools Requires: python-construct -Requires: python-dfdatetime >= 0~20160814 -Requires: python-libbde -Requires: python-libewf -Requires: python-libfsntfs >= 0~20160418 -Requires: python-libfvde -Requires: python-libfwnt -Requires: python-libqcow -Requires: python-libsigscan -Requires: python-libsmdev -Requires: python-libsmraw -Requires: python-libvhdi -Requires: python-libvmdk -Requires: python-libvshadow >= 0~20160110 -Requires: python-libvslvm +Requires: python-pycrypto +# Use the python- variant of the libyal python bindings. This allows python singlespec to tweak the Requires for python2 and python3 Requires: python-six -Requires: python-tsk +Requires: python2-dfdatetime >= 0~20180110 +Requires: python2-libbde +Requires: python2-libewf +Requires: python2-libfsntfs >= 0~20160418 +Requires: python2-libfvde +Requires: python2-libfwnt +Requires: python2-libqcow +Requires: python2-libsigscan +Requires: python2-libsmdev +Requires: python2-libsmraw +Requires: python2-libvhdi +Requires: python2-libvmdk +Requires: python2-libvshadow >= 0~20170902 +Requires: python2-libvslvm +Requires: python2-tsk >= 0~20160721 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. @@ -66,10 +65,10 @@ chmod -x utils/check_dependencies.py chmod -x run_tests.py %build -%python_build +python setup.py build %install -%python_install +python setup.py install --root=%{buildroot} --prefix=%{_prefix} # force complie to resolve an rpmlint complaint pushd %{buildroot}%{python_sitelib}/dfvfs/ %py_compile . @@ -77,12 +76,12 @@ pushd %{buildroot}%{python_sitelib}/dfvfs/ popd %fdupes -s %{buildroot} -%files %{python_files} +%files %defattr(-,root,root) %doc ACKNOWLEDGEMENTS AUTHORS LICENSE README %doc utils/check_dependencies.py utils/dependencies.py %doc examples -%{python_sitelib}/dfvfs-%{timestamp}-py%{python_version}.egg-info +%{python_sitelib}/dfvfs-%{timestamp}-py2.7.egg-info %{python_sitelib}/dfvfs # these are installed into the wrong place %exclude %{_datadir}/doc/dfvfs/