diff --git a/identify-1.4.14.tar.gz b/identify-1.4.14.tar.gz deleted file mode 100644 index 371c020..0000000 --- a/identify-1.4.14.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d5d5b8ec3763492106c8f985322aa2a98bbb1f240df759afa38fd85c8e205408 -size 99227 diff --git a/identify-2.2.6.tar.gz b/identify-2.2.6.tar.gz new file mode 100644 index 0000000..61a1b55 --- /dev/null +++ b/identify-2.2.6.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8ffc0d3a1fd6f9622da2a547e2fb25a75d50b0a16f22b4d752df2659f56bde95 +size 101016 diff --git a/python-identify.changes b/python-identify.changes index 60ca60c..00a4958 100644 --- a/python-identify.changes +++ b/python-identify.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Wed May 26 10:19:37 UTC 2021 - pgajdos@suse.com + +- version update to 2.2.6 + * lot of changes, no upstream changelog found + https://github.com/pre-commit/identify/compare/v1.4.14...v2.2.6 + +------------------------------------------------------------------- +Wed May 26 06:36:52 UTC 2021 - pgajdos@suse.com + +- %check: use %pytest macro + ------------------------------------------------------------------- Mon May 25 10:59:23 UTC 2020 - Petr Gajdos diff --git a/python-identify.spec b/python-identify.spec index a77091a..09c1cbe 100644 --- a/python-identify.spec +++ b/python-identify.spec @@ -1,7 +1,7 @@ # # spec file for package python-identify # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,21 +18,21 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-identify -Version: 1.4.14 +Version: 2.2.6 Release: 0 Summary: File identification library for Python License: MIT Group: Development/Languages/Python URL: https://github.com/chriskuehl/identify Source: https://github.com/chriskuehl/identify/archive/v%{version}.tar.gz#/identify-%{version}.tar.gz -BuildRequires: %{python_module editdistance} -BuildRequires: %{python_module pytest-runner} +BuildRequires: %{python_module editdistance-s} +BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-setuptools Requires(post): update-alternatives -Requires(postun): update-alternatives +Requires(postun):update-alternatives Suggests: python-editdistance BuildArch: noarch %python_subpackages @@ -52,7 +52,7 @@ File identification library for Python, including license file SPDX identifier. %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%python_exec setup.py pytest +%pytest %post %python_install_alternative identify-cli