diff --git a/identify-2.2.10.tar.gz b/identify-2.2.10.tar.gz new file mode 100644 index 0000000..93da148 --- /dev/null +++ b/identify-2.2.10.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:91e1490b8fe459c3595bdfb299b7ef28bfdf3db54fa75f28ac64e96f5cf67435 +size 101073 diff --git a/identify-2.2.6.tar.gz b/identify-2.2.6.tar.gz deleted file mode 100644 index 61a1b55..0000000 --- a/identify-2.2.6.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:8ffc0d3a1fd6f9622da2a547e2fb25a75d50b0a16f22b4d752df2659f56bde95 -size 101016 diff --git a/python-identify.changes b/python-identify.changes index 00a4958..611e866 100644 --- a/python-identify.changes +++ b/python-identify.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Thu Jun 24 12:31:47 UTC 2021 - Markéta Machová + +- update to 2.2.10 + * add few file formats + * detect WORKSPACE files as bazel +- stick with older editdistance as it has more functionality + ------------------------------------------------------------------- Wed May 26 10:19:37 UTC 2021 - pgajdos@suse.com diff --git a/python-identify.spec b/python-identify.spec index 9ec1a63..958644c 100644 --- a/python-identify.spec +++ b/python-identify.spec @@ -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