forked from pool/python-dfVFS
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:
committed by
Git OBS Bridge
parent
0eecd4ba74
commit
d1a20346e1
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# 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
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -16,7 +16,7 @@
|
||||
#
|
||||
|
||||
|
||||
%define timestamp 20150108
|
||||
%define timestamp 20150303
|
||||
Name: python-dfVFS
|
||||
Version: 0~%{timestamp}
|
||||
Release: 0
|
||||
@@ -32,6 +32,7 @@ BuildRequires: python-setuptools
|
||||
Requires: pybde
|
||||
Requires: pyewf
|
||||
Requires: pyqcow
|
||||
Requires: pysigscan
|
||||
Requires: pysmdev
|
||||
Requires: pysmraw
|
||||
Requires: python-construct
|
||||
@@ -55,15 +56,13 @@ dfVFS is currently implemented as a Python module.
|
||||
%setup -q -n dfvfs-%{timestamp}
|
||||
find dfvfs -name \*.py | xargs sed -i "/#!\/usr\/bin\/python/d"
|
||||
chmod -x utils/check_dependencies.py
|
||||
chmod -x run_tests.py
|
||||
|
||||
%build
|
||||
python setup.py build
|
||||
|
||||
%install
|
||||
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
|
||||
pushd %{buildroot}%{python_sitelib}/dfvfs/
|
||||
%py_compile .
|
||||
@@ -72,11 +71,13 @@ popd
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc ACKNOWLEDGEMENTS AUTHORS LICENSE
|
||||
%doc ACKNOWLEDGEMENTS AUTHORS LICENSE README
|
||||
%doc utils/check_dependencies.py
|
||||
%doc run_tests.py
|
||||
%doc examples
|
||||
%{python_sitelib}/dfvfs-%{timestamp}-py2.7.egg-info
|
||||
%{python_sitelib}/dfvfs
|
||||
# these are installed into the wrong place
|
||||
%exclude %{_datadir}/doc/dfvfs/
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user