forked from pool/python-dfVFS
Accepting request 768051 from home:mcepl:branches:security:forensics
- Update to 20200121 - Remove include-examples-in-packages.patch as it is included upstream. OBS-URL: https://build.opensuse.org/request/show/768051 OBS-URL: https://build.opensuse.org/package/show/security:forensics/python-dfVFS?expand=0&rev=28
This commit is contained in:
committed by
Git OBS Bridge
parent
8f2365edb4
commit
b5fc40881b
@@ -17,7 +17,7 @@
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%define timestamp 20200117
|
||||
%define timestamp 20200121
|
||||
%define skip_python2 1
|
||||
Name: python-dfVFS
|
||||
Version: 0~%{timestamp}
|
||||
@@ -26,8 +26,8 @@ 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
|
||||
Patch0: include-examples-in-packages.patch
|
||||
Source0: https://github.com/log2timeline/dfvfs/releases/download/%{timestamp}/dfvfs-%{timestamp}.tar.gz
|
||||
Source99: python-dfVFS-rpmlintrc
|
||||
BuildRequires: %{python_module PyYAML}
|
||||
BuildRequires: %{python_module cffi}
|
||||
BuildRequires: %{python_module cryptography}
|
||||
@@ -93,7 +93,8 @@ dfVFS is currently implemented as a Python module.
|
||||
|
||||
%prep
|
||||
%setup -q -n dfvfs-%{timestamp}
|
||||
%patch0 -p 1
|
||||
%autopatch -p1
|
||||
|
||||
find dfvfs -name \*.py | xargs sed -i "/#!\/usr\/bin\/python/d"
|
||||
chmod -x utils/check_dependencies.py
|
||||
chmod -x run_tests.py
|
||||
@@ -110,7 +111,6 @@ chmod -x run_tests.py
|
||||
%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
|
||||
}
|
||||
|
Reference in New Issue
Block a user