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
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:b526c7973962f41d836dc21716988d4d4137739b04a6f27bbf242bae67ba628d
|
||||
size 78161450
|
3
dfvfs-20200121.tar.gz
Normal file
3
dfvfs-20200121.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:33abd173cee972c6da784ba018b24080c03c2ed9bc96429cdd4ba231fccdc16b
|
||||
size 78161691
|
@@ -1,11 +0,0 @@
|
||||
--- dfvfs-20200117/setup.py 2020-01-19 07:00:47.000000000 -0500
|
||||
+++ dfvfs-20200117-2/setup.py 2020-01-12 03:04:01.000000000 -0500
|
||||
@@ -187,7 +187,7 @@
|
||||
'Programming Language :: Python',
|
||||
],
|
||||
packages=find_packages('.', exclude=[
|
||||
- 'examples', 'tests', 'tests.*', 'utils']),
|
||||
+ 'tests', 'tests.*', 'utils']),
|
||||
package_dir={
|
||||
'dfvfs': 'dfvfs'
|
||||
},
|
1
python-dfVFS-rpmlintrc
Normal file
1
python-dfVFS-rpmlintrc
Normal file
@@ -0,0 +1 @@
|
||||
addFilter("non-executable-script .*/dfvfs/examples/.*")
|
@@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 24 16:16:47 UTC 2020 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
- Update to 20200121
|
||||
- Remove include-examples-in-packages.patch as it is included
|
||||
upstream.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jan 18 17:44:38 CET 2020 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
|
@@ -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