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

OBS-URL: https://build.opensuse.org/request/show/293183
OBS-URL: https://build.opensuse.org/package/show/security:forensics/python-dfVFS?expand=0&rev=7
This commit is contained in:
Greg Freemyer
2015-03-25 22:33:01 +00:00
committed by Git OBS Bridge
parent 0eecd4ba74
commit d1a20346e1
4 changed files with 21 additions and 9 deletions

View File

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

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

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

View File

@@ -1,3 +1,14 @@
-------------------------------------------------------------------
Wed Mar 25 14:59:26 UTC 2015 - Greg.Freemyer@gmail.com
- update to v0~20150303
* dfVFS is in a rapid state of development and Changelog entries have not been implemented by upstream
- add Requires: pysigscan, it is a new dependency
- add a new %exclude in %files due to doubly included %doc files
- remove spec file entry deleting installed examples. Resolved upstream.
* see https://github.com/log2timeline/dfvfs/issues/4
- chmod run_tests.py to remove the executable bits. Was causing a rmplint warning.
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Jan 21 15:22:54 UTC 2015 - Greg.Freemyer@gmail.com Wed Jan 21 15:22:54 UTC 2015 - Greg.Freemyer@gmail.com

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-dfVFS # spec file for package python-dfVFS
# #
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -16,7 +16,7 @@
# #
%define timestamp 20150108 %define timestamp 20150303
Name: python-dfVFS Name: python-dfVFS
Version: 0~%{timestamp} Version: 0~%{timestamp}
Release: 0 Release: 0
@@ -32,6 +32,7 @@ BuildRequires: python-setuptools
Requires: pybde Requires: pybde
Requires: pyewf Requires: pyewf
Requires: pyqcow Requires: pyqcow
Requires: pysigscan
Requires: pysmdev Requires: pysmdev
Requires: pysmraw Requires: pysmraw
Requires: python-construct Requires: python-construct
@@ -55,15 +56,13 @@ dfVFS is currently implemented as a Python module.
%setup -q -n dfvfs-%{timestamp} %setup -q -n dfvfs-%{timestamp}
find dfvfs -name \*.py | xargs sed -i "/#!\/usr\/bin\/python/d" find dfvfs -name \*.py | xargs sed -i "/#!\/usr\/bin\/python/d"
chmod -x utils/check_dependencies.py chmod -x utils/check_dependencies.py
chmod -x run_tests.py
%build %build
python setup.py build python setup.py build
%install %install
python setup.py install --root=%{buildroot} --prefix=%{_prefix} python setup.py install --root=%{buildroot} --prefix=%{_prefix}
# examples should not be installed
# see https://github.com/log2timeline/dfvfs/issues/4
rm -rf %{buildroot}/%{python_sitelib}/examples
# force complie to resolve an rpmlint complaint # force complie to resolve an rpmlint complaint
pushd %{buildroot}%{python_sitelib}/dfvfs/ pushd %{buildroot}%{python_sitelib}/dfvfs/
%py_compile . %py_compile .
@@ -72,11 +71,13 @@ popd
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%doc ACKNOWLEDGEMENTS AUTHORS LICENSE %doc ACKNOWLEDGEMENTS AUTHORS LICENSE README
%doc utils/check_dependencies.py %doc utils/check_dependencies.py
%doc run_tests.py %doc run_tests.py
%doc examples %doc examples
%{python_sitelib}/dfvfs-%{timestamp}-py2.7.egg-info %{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/
%changelog %changelog