forked from pool/python-identify
Accepting request 901738 from home:mcalabkova:branches:devel:languages:python
- update to 2.2.10 * add few file formats * detect WORKSPACE files as bazel - stick with older editdistance as it has more functionality OBS-URL: https://build.opensuse.org/request/show/901738 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-identify?expand=0&rev=17
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-identify
|
||||
Version: 2.2.6
|
||||
Version: 2.2.10
|
||||
Release: 0
|
||||
Summary: File identification library for Python
|
||||
License: MIT
|
||||
@@ -42,6 +42,9 @@ File identification library for Python, including license file SPDX identifier.
|
||||
|
||||
%prep
|
||||
%setup -q -n identify-%{version}
|
||||
# stick with editdistance as it generally has more functionality
|
||||
sed -i 's/editdistance_s.distance/editdistance.eval/' identify/identify.py
|
||||
sed -i 's/editdistance_s/editdistance/' identify/identify.py
|
||||
|
||||
%build
|
||||
%python_build
|
||||
|
||||
Reference in New Issue
Block a user