diff --git a/dfvfs-20171230.tar.gz b/dfvfs-20171230.tar.gz deleted file mode 100644 index f87f4f9..0000000 --- a/dfvfs-20171230.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9e00fbd418cb32298711c87e7867b1b2ed5e5d75f6e0d5c3bd066446c481ad1d -size 77713170 diff --git a/dfvfs-20200117.tar.gz b/dfvfs-20200117.tar.gz new file mode 100644 index 0000000..9a2aee3 --- /dev/null +++ b/dfvfs-20200117.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d0b80158281277ac49ee9fb6d54eae1caf892460d4617fb02c52ef959d113dce +size 78161698 diff --git a/python-dfVFS.changes b/python-dfVFS.changes index 654e2de..ca9c28c 100644 --- a/python-dfVFS.changes +++ b/python-dfVFS.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Sat Jan 18 17:44:38 CET 2020 - Matej Cepl + +- Update to 20200117: + - switch from PyCrypto to cryptography.io (Hurrah!) + - test suite passes (gh#log2timeline/dfvfs#421) + +------------------------------------------------------------------- +Tue Jan 14 22:02:07 CET 2020 - Matej Cepl + +- update to 20190902 + - back to Python singlespec and python3 + ------------------------------------------------------------------- Thu Jan 11 21:53:23 UTC 2018 - Greg.Freemyer@gmail.com diff --git a/python-dfVFS.spec b/python-dfVFS.spec index 8ec78b8..da22d70 100644 --- a/python-dfVFS.spec +++ b/python-dfVFS.spec @@ -1,7 +1,7 @@ # # spec file for package python-dfVFS # -# Copyright (c) 2018 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,49 +12,83 @@ # 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 20171230 +%{?!python_module:%define python_module() python-%{**} python3-%{**}} +%define timestamp 20200117 +%define skip_python2 1 Name: python-dfVFS Version: 0~%{timestamp} Release: 0 Summary: Digital Forensics Virtual File System 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 +URL: https://github.com/log2timeline/dfvfs/wiki +Source: https://github.com/log2timeline/dfvfs/releases/download/%{timestamp}/dfvfs-%{timestamp}.tar.gz +BuildRequires: %{python_module PyYAML} +BuildRequires: %{python_module cffi} +BuildRequires: %{python_module cryptography} +BuildRequires: %{python_module dfdatetime} +BuildRequires: %{python_module dtfabric} +BuildRequires: %{python_module idna} +BuildRequires: %{python_module libbde} +BuildRequires: %{python_module libewf} +BuildRequires: %{python_module libfsapfs} +BuildRequires: %{python_module libfsntfs} +BuildRequires: %{python_module libfvde} +BuildRequires: %{python_module libfwnt} +BuildRequires: %{python_module libqcow} +BuildRequires: %{python_module libsigscan} +BuildRequires: %{python_module libsmdev} +BuildRequires: %{python_module libsmraw} +BuildRequires: %{python_module libvhdi} +BuildRequires: %{python_module libvmdk} +BuildRequires: %{python_module libvshadow} +BuildRequires: %{python_module libvslvm} +BuildRequires: %{python_module mock} +BuildRequires: %{python_module pbr} +BuildRequires: %{python_module pytsk3} +BuildRequires: %{python_module setuptools} BuildRequires: fdupes -BuildRequires: python-devel BuildRequires: python-rpm-macros -BuildRequires: python-setuptools Requires: python-construct +Requires: python-dfdatetime >= 0~20180110 +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~20170902 +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 +# 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: 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 +Requires: python-tsk >= 0~20160721 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. +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. -dfVFS originates from the Plaso project and is also based on ideas from the GRR project. It was largely rewritten and made into a stand-alone project to provide more flexibility and allow other projects to make use of the VFS functionality. dfVFS originally was named PyVFS, but that name conflicted with another project. +dfVFS originates from the Plaso project and is also based on ideas from +the GRR project. It was largely rewritten and made into a stand-alone +project to provide more flexibility and allow other projects to make use +of the VFS functionality. dfVFS originally was named PyVFS, but that +name conflicted with another project. dfVFS is currently implemented as a Python module. @@ -65,24 +99,28 @@ chmod -x utils/check_dependencies.py chmod -x run_tests.py %build -python setup.py build +%python_build %install -python setup.py install --root=%{buildroot} --prefix=%{_prefix} -# force complie to resolve an rpmlint complaint -pushd %{buildroot}%{python_sitelib}/dfvfs/ -%py_compile . -%py_compile serializer -popd -%fdupes -s %{buildroot} +%python_install +%{python_expand mv %{buildroot}%{$python_sitelib}/{examples,dfvfs} +%fdupes %{buildroot}%{$python_sitelib} +} -%files -%defattr(-,root,root) -%doc ACKNOWLEDGEMENTS AUTHORS LICENSE README +%check +# Using pytest leads to some horribly-looking crashes, not sure what's +# going on. +# /bin/true because of gh#log2timeline/dfvfs#421 +%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitearch} +$python ./run_tests.py +} + +%files %{python_files} +%license LICENSE +%doc ACKNOWLEDGEMENTS AUTHORS README %doc utils/check_dependencies.py utils/dependencies.py %doc examples -%{python_sitelib}/dfvfs-%{timestamp}-py2.7.egg-info -%{python_sitelib}/dfvfs +%{python_sitelib}/dfvfs* # these are installed into the wrong place %exclude %{_datadir}/doc/dfvfs/